diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-20 23:06:04 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-06-20 23:06:04 +0200 |
commit | c5b841cec8b6d7afd1c7113aee0060b685688b38 (patch) | |
tree | b74363c15d0aab8e2da13cc739ef607abca74e00 /Makefile | |
parent | 8810655f30bc31407999282c2e6e9ccf8423ffa7 (diff) |
Only execute vendor rule when building all.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,9 +71,9 @@ else endif -all: tools/syncthing build +all: tools/syncthing vendor build -build: vendor tools/syncthing/copytobin +build: tools/syncthing/copytobin @echo "### Build XDS agent (version $(VERSION), subversion $(SUB_VERSION)) - $(BUILD_MODE)"; @cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-agent$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" . |