提交 b5a93ead 作者: Jeromy

gx install stuff in cmd/ipfs/Makefile

License: MIT
Signed-off-by: 's avatarJeromy <jeromyj@gmail.com>
上级 9c05a0d2
...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论