提交 c9b83c50 作者: Jeromy

makefile fixes

License: MIT
Signed-off-by: 's avatarJeromy <jeromyj@gmail.com>
上级 ffc4831b
......@@ -27,10 +27,10 @@ deps: gx
vendor: godep
godep save -r ./...
install: deps
install: build
cd cmd/ipfs && go install -ldflags=$(ldflags)
build:
build: deps
cd cmd/ipfs && go build -i -ldflags=$(ldflags)
nofuse:
......
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)"
gx:
go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
build:
cd ../../ && make build
deps: gx
gx --verbose install --global
build: deps
go build -ldflags=$(ldflags)
install: build
go install
install:
cd ../../ && make install
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论