Use recursive go test instead of naming directories individually
This commit is contained in:
1 parent
10f37db9da
commit
592be90904
1 file changed
+1
-3
@@ -58,10 +58,8 @@ $(WEAVEEXEC_EXPORT): weaveexec/Dockerfile $(DOCKER_DISTRIB) weave
|
||||
$(DOCKER_DISTRIB):
|
||||
curl -o $(DOCKER_DISTRIB) $(DOCKER_DISTRIB_URL)
|
||||
|
||||
# Add more directories in here as more tests are created
|
||||
tests:
|
||||
cd router; go test -cover -tags netgo
|
||||
cd nameserver; go test -cover -tags netgo
|
||||
go test -cover -tags netgo ./...
|
||||
|
||||
$(PUBLISH): publish_%:
|
||||
$(SUDO) docker tag -f $(DOCKERHUB_USER)/$* $(DOCKERHUB_USER)/$*:$(WEAVE_VERSION)
|
||||
|
||||
Reference in new issue
Block a user