Update paths in .gitignore, cmd, develop, mgmt, sync.sh, check.sh, fixup.sh, CLAUDE.md, docs/new-project.md, and backend/*.sh scripts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
469 B
Bash
Executable File
27 lines
469 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
cd "$DIR"
|
|
|
|
# uv run ruff check --select I --fix .
|
|
|
|
# uv run ruff format .
|
|
|
|
shell_scripts="$(fd '.sh$' | xargs)"
|
|
shfmt -i 4 -w "$DIR/cmd" "$DIR"/diachron/cmd.d/* "$DIR"/diachron/shims/* "$DIR"/master/master "$DIR"/logger/logger
|
|
# "$shell_scripts"
|
|
for ss in $shell_scripts; do
|
|
shfmt -i 4 -w $ss
|
|
done
|
|
|
|
pushd "$DIR/master"
|
|
go fmt
|
|
popd
|
|
|
|
pushd "$DIR/backend"
|
|
../cmd pnpm biome check --write
|
|
popd
|