Skip to content

Commit

Permalink
gx install stuff in cmd/ipfs/Makefile
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jeromy <[email protected]>
  • Loading branch information
whyrusleeping committed Jan 30, 2016
1 parent 9c05a0d commit b5a93ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cmd/ipfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ all: install
commit = $(shell git rev-parse --short HEAD 2> /dev/null || echo unknown)
ldflags = "-X "github.com/ipfs/go-ipfs/repo/config".CurrentCommit=$(commit)"

build:
gx:
go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go

deps: gx
gx --verbose install --global

build: deps
go build -ldflags=$(ldflags)

install: build
Expand Down

0 comments on commit b5a93ea

Please sign in to comment.