Rename budget to chultun

This commit is contained in:
ms2k 2026-10-18 20:03:53 +09:00
commit b529740ee3

View file

@ -1,8 +1,8 @@
#!/bin/sh
set -eu
cd -- "$(dirname -- "$0")"
CGO_ENABLED=0 go build -trimpath -o bin/budget ./cmd/budget
install -Dm755 bin/budget "$HOME/.local/bin/.budget.new"
mv "$HOME/.local/bin/.budget.new" "$HOME/.local/bin/budget"
test -f "$HOME/.config/budget/profiles.toml" || install -Dm644 profiles.example.toml "$HOME/.config/budget/profiles.toml"
"$HOME/.local/bin/budget" apply
CGO_ENABLED=0 go build -trimpath -o bin/chultun ./cmd/chultun
install -Dm755 bin/chultun "$HOME/.local/bin/.chultun.new"
mv "$HOME/.local/bin/.chultun.new" "$HOME/.local/bin/chultun"
test -f "$HOME/.config/chultun/profiles.toml" || install -Dm644 profiles.example.toml "$HOME/.config/chultun/profiles.toml"
"$HOME/.local/bin/chultun" apply