Skip to content

Commit

Permalink
depend on download_tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
honnix committed Jan 21, 2020
1 parent b18fd7b commit ce65baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ compile:
mkdir -p ./bin
go build -o pflags ./cli/pflags/main.go && mv ./pflags ./bin

gen-config:
which pflags || (go get github.com/lyft/flytestdlib/cli/pflags)
gen-config: download_tooling
@go generate ./...

.PHONY: test_unit_codecov
Expand Down
1 change: 1 addition & 0 deletions boilerplate/lyft/golang_test_targets/download_tooling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ go_install_tool () {
# List of tools to go get
# In the format of "<cli>:<package>" or ":<package>" if no cli
tools=(
"pflags:github.com/lyft/flytestdlib/cli/pflags"
"golangci-lint:github.com/golangci/golangci-lint/cmd/golangci-lint"
)

Expand Down

0 comments on commit ce65baa

Please sign in to comment.