cmd/nixbuild: rename to nix-tool

This commit is contained in:
2025-07-20 01:36:15 +09:00
parent 270298c73d
commit 0e4653332c
4 changed files with 2 additions and 3 deletions

2
.gitignore vendored
View File

@@ -5,7 +5,7 @@
*.so
*.dylib
*.pkg
/nixbuild
/nix-tool
# Test binary, built with `go test -c`
*.test

View File

@@ -31,9 +31,8 @@ func main() {
flagVerbose bool
flagJSON bool
)
c := command.New(os.Stderr, log.Printf, "nixbuild", func(args []string) error {
c := command.New(os.Stderr, log.Printf, "nix-tool", func(args []string) error {
log.SetFlags(0)
log.SetPrefix("nixbuild: ")
var stderr io.Writer
if flagVerbose {