cmd/nixbuild: rename to nix-tool

This commit is contained in:
Ophestra 2025-07-20 01:36:15 +09:00
parent 270298c73d
commit 0e4653332c
Signed by: cat
SSH Key Fingerprint: SHA256:gQ67O0enBZ7UdZypgtspB2FDM1g3GVw8nX0XSdcFw8Q
4 changed files with 2 additions and 3 deletions

2
.gitignore vendored
View File

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

View File

@ -31,9 +31,8 @@ func main() {
flagVerbose bool flagVerbose bool
flagJSON 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.SetFlags(0)
log.SetPrefix("nixbuild: ")
var stderr io.Writer var stderr io.Writer
if flagVerbose { if flagVerbose {