Skip to content

Commit

Permalink
make: be smarter about downloading running gx install
Browse files Browse the repository at this point in the history
this might have unwanted side effect but I can't see any

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed Sep 16, 2016
1 parent 3722e90 commit ad7b503
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
bin/gx
bin/gx*
bin/tmp
.deps.time
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,17 @@ path_check:
deps: go_check gx_check path_check
${gx_bin} --verbose install --global

.deps.time: package.json
$(MAKE) deps
touch .deps.time

# saves/vendors third-party dependencies to Godeps/_workspace
# -r flag rewrites import paths to use the vendored path
# ./... performs operation on all packages in tree
vendor: godep
godep save -r ./...

install build nofuse: deps
install build nofuse: .deps.time
$(MAKE) -C cmd/ipfs $@

clean:
Expand Down

0 comments on commit ad7b503

Please sign in to comment.