Code Review
/
src
/
xds
/
xds-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8f41ac4
)
Only call vendor when building all.
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Tue, 20 Jun 2017 20:48:01 +0000
(22:48 +0200)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Tue, 20 Jun 2017 20:48:01 +0000
(22:48 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
29a33a8
..
916b133
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-82,9
+82,9
@@
endif
all: tools/syncthing build
.PHONY: build
all: tools/syncthing build
.PHONY: build
-build: xds webapp
+build:
vendor
xds webapp
-xds:
vendor
scripts tools/syncthing/copytobin
+xds: scripts tools/syncthing/copytobin
@echo "### Build XDS server (version $(VERSION), subversion $(SUB_VERSION))";
@cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-server$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" .
@echo "### Build XDS server (version $(VERSION), subversion $(SUB_VERSION))";
@cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-server$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" .