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
(parent:
06adae2
)
Fix glide install detection
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Fri, 16 Jun 2017 14:26:27 +0000
(16:26 +0200)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Fri, 16 Jun 2017 14:26:27 +0000
(16:26 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
948bad2
..
e371581
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-159,10
+159,13
@@
package-all:
vendor: tools/glide glide.yaml
$(LOCAL_TOOLSDIR)/glide install --strip-vendor
+.PHONY: tools/glide
tools/glide:
- @echo "Downloading glide"
- mkdir -p $(LOCAL_TOOLSDIR)
- curl --silent -L https://glide.sh/get | GOBIN=$(LOCAL_TOOLSDIR) sh
+ @test -f $(LOCAL_TOOLSDIR)/glide || { \
+ echo "Downloading glide"; \
+ mkdir -p $(LOCAL_TOOLSDIR); \
+ curl --silent -L https://glide.sh/get | GOBIN=$(LOCAL_TOOLSDIR) sh; \
+ }
.PHONY: tools/syncthing
tools/syncthing: