mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-25 23:21:54 +08:00
gx install stuff in cmd/ipfs/Makefile
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user