move weaver

This commit is contained in:
Matthias Radestock committed 2015-06-02 14:04:02 +01:00
1 parent 485db6e48b
commit 5b04efac7c
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ coverage.html
*~ *~
# Project specific # Project specific
weaver/weaver prog/weaver/weaver
prog/weavedns/weavedns prog/weavedns/weavedns
prog/weaveproxy/weaveproxy prog/weaveproxy/weaveproxy
prog/sigproxy/sigproxy prog/sigproxy/sigproxy
+4 -4
View File
@@ -9,7 +9,7 @@ SUDO=sudo
DOCKERHUB_USER=weaveworks DOCKERHUB_USER=weaveworks
WEAVE_VERSION=git-$(shell git rev-parse --short=12 HEAD) WEAVE_VERSION=git-$(shell git rev-parse --short=12 HEAD)
WEAVER_EXE=weaver/weaver WEAVER_EXE=prog/weaver/weaver
WEAVEDNS_EXE=prog/weavedns/weavedns WEAVEDNS_EXE=prog/weavedns/weavedns
WEAVEPROXY_EXE=prog/weaveproxy/weaveproxy WEAVEPROXY_EXE=prog/weaveproxy/weaveproxy
SIGPROXY_EXE=prog/sigproxy/sigproxy SIGPROXY_EXE=prog/sigproxy/sigproxy
@@ -52,7 +52,7 @@ $(WEAVER_EXE) $(WEAVEDNS_EXE) $(WEAVEPROXY_EXE) $(WEAVEWAIT_EXE): common/*.go co
false; \ false; \
} }
$(WEAVER_EXE): router/*.go ipam/*.go ipam/*/*.go weaver/main.go $(WEAVER_EXE): router/*.go ipam/*.go ipam/*/*.go prog/weaver/main.go
$(WEAVEDNS_EXE): nameserver/*.go prog/weavedns/main.go $(WEAVEDNS_EXE): nameserver/*.go prog/weavedns/main.go
$(WEAVEPROXY_EXE): proxy/*.go prog/weaveproxy/main.go $(WEAVEPROXY_EXE): proxy/*.go prog/weaveproxy/main.go
$(WEAVEWAIT_EXE): prog/weavewait/*.go $(WEAVEWAIT_EXE): prog/weavewait/*.go
@@ -62,8 +62,8 @@ $(WEAVEWAIT_EXE): prog/weavewait/*.go
$(SIGPROXY_EXE): prog/sigproxy/main.go $(SIGPROXY_EXE): prog/sigproxy/main.go
go build -o $@ ./$(@D) go build -o $@ ./$(@D)
$(WEAVER_EXPORT): weaver/Dockerfile $(WEAVER_EXE) $(WEAVER_EXPORT): prog/weaver/Dockerfile $(WEAVER_EXE)
$(SUDO) docker build -t $(WEAVER_IMAGE) weaver $(SUDO) docker build -t $(WEAVER_IMAGE) prog/weaver
$(SUDO) docker save $(WEAVER_IMAGE):latest > $@ $(SUDO) docker save $(WEAVER_IMAGE):latest > $@
$(WEAVEDNS_EXPORT): prog/weavedns/Dockerfile $(WEAVEDNS_EXE) $(WEAVEDNS_EXPORT): prog/weavedns/Dockerfile $(WEAVEDNS_EXE)
+1 -1
View File
@@ -61,7 +61,7 @@ build() {
fi fi
## Run tests with the distributables, including version check ## Run tests with the distributables, including version check
v=$(./weaver/weaver --version | grep -o '[0-9].*') v=$(./prog/weaver/weaver --version | grep -o '[0-9].*')
if ! [ "$v" == "$VERSION" ]; then if ! [ "$v" == "$VERSION" ]; then
echo "Version of distributable "$v" does not match release version $VERSION" >&2 echo "Version of distributable "$v" does not match release version $VERSION" >&2
exit 1 exit 1
File renamed without changes.
File renamed without changes.