Merge pull request #1015 from weaveworks/go-get-tests

Extend 'go get' to tests
This commit is contained in:
Matthias Radestock committed 2015-06-25 17:01:26 +01:00
commit ea59c6c065
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ update: $(EXES)
go get -u -f -v -tags -netgo $(addprefix ./,$(dir $(EXES)))
$(WEAVER_EXE) $(WEAVEDNS_EXE) $(WEAVEPROXY_EXE) $(NETCHECK_EXE): common/*.go common/*/*.go net/*.go
go get -tags netgo ./$(@D)
go get -t -tags netgo ./$(@D)
go build -ldflags "-extldflags \"-static\" -X main.version $(WEAVE_VERSION)" -tags netgo -o $@ ./$(@D)
@strings $@ | grep cgo_stub\\\.go >/dev/null || { \
rm $@; \