mirror of
https://github.com/ipfs/kubo.git
synced 2025-10-25 02:16:56 +08:00
test: install random from vendored code
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
|
||||
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
|
||||
SHARNESS = sharness/sharness.sh
|
||||
RANDOMSRC = Godeps/_workspace/src/github.com/jbenet/go-random/random
|
||||
|
||||
all: clean deps $(T) aggregate
|
||||
|
||||
@ -35,8 +36,7 @@ ipfs:
|
||||
|
||||
random:
|
||||
@echo "*** installing $@ ***"
|
||||
go get github.com/jbenet/go-random/random
|
||||
go install github.com/jbenet/go-random/random
|
||||
cp `which random` random
|
||||
go build ../$(RANDOMSRC)
|
||||
cp ../$(RANDOMSRC)/random random
|
||||
|
||||
.PHONY: all clean $(T) aggregate ipfs random
|
||||
|
||||
Reference in New Issue
Block a user