mirror of https://github.com/spf13/viper.git
Always quote $@
This commit is contained in:
parent
493643fd5e
commit
6ddd35486b
2
Makefile
2
Makefile
|
@ -49,7 +49,7 @@ bin/golangci-lint: bin/golangci-lint-${GOLANGCI_VERSION}
|
||||||
bin/golangci-lint-${GOLANGCI_VERSION}:
|
bin/golangci-lint-${GOLANGCI_VERSION}:
|
||||||
@mkdir -p bin
|
@mkdir -p bin
|
||||||
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ./bin/ v${GOLANGCI_VERSION}
|
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b ./bin/ v${GOLANGCI_VERSION}
|
||||||
@mv bin/golangci-lint $@
|
@mv bin/golangci-lint "$@"
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: bin/golangci-lint ## Run linter
|
lint: bin/golangci-lint ## Run linter
|
||||||
|
|
Loading…
Reference in New Issue