scripts-to-rule-them-all (#174)
Check / check (push) Successful in 4s

Reviewed-on: #174
Co-authored-by: sneak <sneak@sneak.berlin>
Co-committed-by: sneak <sneak@sneak.berlin>
This commit was merged in pull request #174.
This commit is contained in:
2026-07-07 02:15:20 +02:00
committed by sneak
parent bee933ce8e
commit 291f85f3ed
17 changed files with 569 additions and 36 deletions
Executable
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
# script/fmt: format all files (writes).
set -eu
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
main() {
cd "$ROOT"
gofmt -s -w .
goimports -w .
npx prettier --write --tab-width 4 static/js/*.js
}
main "$@"