Update tools/Makefile.
This commit is contained in:
parent
801793e185
commit
f5c88e1806
|
@ -30,15 +30,16 @@ tools.deps: $(GO_SRC)
|
||||||
echo -e "bin/$$(basename $$pkg): $$GO_SRC\n\t\$$(GO) install -v $$pkg" ; \
|
echo -e "bin/$$(basename $$pkg): $$GO_SRC\n\t\$$(GO) install -v $$pkg" ; \
|
||||||
done > tools.deps
|
done > tools.deps
|
||||||
|
|
||||||
metatools.deps: tools.deps bin/gometalinter $(GO_SRC)
|
-include tools.deps
|
||||||
|
|
||||||
|
metatools.deps: bin/gometalinter $(GO_SRC)
|
||||||
# Generate build patterns for metalinters tools
|
# Generate build patterns for metalinters tools
|
||||||
@echo -e "METATOOL_SRCS+=$(shell $(get_metalinters))" > metatools.deps
|
@echo -e "METATOOL_SRCS+=$(shell $(get_metalinters))" > metatools.deps
|
||||||
@for pkg in $(shell $(get_metalinters)) ; do \
|
@for pkg in $(shell $(get_metalinters)) ; do \
|
||||||
echo -e "bin/$$(basename $$pkg): $$GO_SRC\n\t\$$(GO) install -v $$pkg" ; \
|
echo -e "bin/$$(basename $$pkg): $$GO_SRC\n\t\$$(GO) install -v $$pkg" ; \
|
||||||
done >> metatools.deps
|
done >> metatools.deps
|
||||||
|
|
||||||
include tools.deps
|
-include metatools.deps
|
||||||
include metatools.deps
|
|
||||||
|
|
||||||
update:
|
update:
|
||||||
# Fetch govendor, then rebuild govendor.
|
# Fetch govendor, then rebuild govendor.
|
||||||
|
|
Loading…
Reference in New Issue