Skip to content
Snippets Groups Projects
Commit b5a93ead authored by Jeromy Johnson's avatar Jeromy Johnson
Browse files

gx install stuff in cmd/ipfs/Makefile


License: MIT
Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
parent 9c05a0d2
Branches
No related tags found
1 merge request!1New
...@@ -2,7 +2,14 @@ all: install ...@@ -2,7 +2,14 @@ all: install
commit = $(shell git rev-parse --short HEAD 2> /dev/null || echo unknown) commit = $(shell git rev-parse --short HEAD 2> /dev/null || echo unknown)
ldflags = "-X "github.com/ipfs/go-ipfs/repo/config".CurrentCommit=$(commit)" 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) go build -ldflags=$(ldflags)
install: build install: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment