cmd/nixbuild: rename to nix-tool
This commit is contained in:
parent
270298c73d
commit
0e4653332c
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||||
|
@ -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 {
|
Loading…
x
Reference in New Issue
Block a user