We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
command
which
1 parent 13f6a06 commit 14b21c4Copy full SHA for 14b21c4
Makefile
@@ -8,7 +8,7 @@ $(BIN): $(SRC) fmt ## Build binary for this platform
8
.PHONY: fmt dist clean help
9
10
dist: $(SRC) fmt ## Build distribution binaries for all platforms using gox
11
- @which gox &> /dev/null || go get github.com/mitchellh/gox
+ @command -v gox 2> /dev/null || go get github.com/mitchellh/gox
12
gox -output "$(DIST_DIR)/$(BIN)_{{.OS}}_{{.Arch}}"
13
14
fmt: $(SRC) ## Lint with gofmt
0 commit comments