From 23233851db544836430373385fc031a01032fd56 Mon Sep 17 00:00:00 2001 From: David Wragg Date: Tue, 3 Feb 2015 10:46:34 +0000 Subject: [PATCH] Support non-containerized WEAVETOOLS_EXES build --- .gitignore | 1 + Makefile | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index 46a83f2c..c1df85ea 100644 --- a/.gitignore +++ b/.gitignore @@ -30,4 +30,5 @@ _testmain.go weaver/weaver weavedns/weavedns tools/bin +tools/build releases diff --git a/Makefile b/Makefile index cfe33ff8..1d492d64 100644 --- a/Makefile +++ b/Makefile @@ -38,8 +38,17 @@ $(WEAVER_EXE) $(WEAVEDNS_EXE): common/*.go $(WEAVER_EXE): router/*.go weaver/main.go $(WEAVEDNS_EXE): nameserver/*.go weavedns/main.go +build_weavetools_exes_in_container=yes + $(WEAVETOOLS_EXES): tools/build.sh +ifdef build_weavetools_exes_in_container $(SUDO) docker run --rm -v $(realpath $(