27 lines
471 B
Bash
Executable File
27 lines
471 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"/framework/cmd.d/* "$DIR"/framework/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/express"
|
|
../cmd pnpm biome check --write
|
|
popd
|