Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install tools by deps target #7

Closed
kamilsk opened this issue Mar 15, 2020 · 1 comment
Closed

install tools by deps target #7

kamilsk opened this issue Mar 15, 2020 · 1 comment
Assignees
Labels

Comments

@kamilsk
Copy link
Member

@kamilsk kamilsk commented Mar 15, 2020

now tools are not provided by makefile

@kamilsk kamilsk self-assigned this Mar 15, 2020
@kamilsk

This comment has been minimized.

Copy link
Member Author

@kamilsk kamilsk commented Mar 28, 2020

fixed by

.PHONY: toolset
toolset:
@( \
GOFLAGS=$(TOOLFLAGS); \
cd tools; \
go mod download; \
if [[ "`go env GOFLAGS`" =~ -mod=vendor ]]; then go mod vendor; fi; \
go generate tools.go; \
)

@kamilsk kamilsk closed this Mar 28, 2020
@kamilsk kamilsk added the help wanted label Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.