mirror of
https://github.com/ipfs/kubo.git
synced 2025-10-28 03:54: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))
|
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
|
||||||
SHARNESS = sharness/sharness.sh
|
SHARNESS = sharness/sharness.sh
|
||||||
|
RANDOMSRC = Godeps/_workspace/src/github.com/jbenet/go-random/random
|
||||||
|
|
||||||
all: clean deps $(T) aggregate
|
all: clean deps $(T) aggregate
|
||||||
|
|
||||||
@ -35,8 +36,7 @@ ipfs:
|
|||||||
|
|
||||||
random:
|
random:
|
||||||
@echo "*** installing $@ ***"
|
@echo "*** installing $@ ***"
|
||||||
go get github.com/jbenet/go-random/random
|
go build ../$(RANDOMSRC)
|
||||||
go install github.com/jbenet/go-random/random
|
cp ../$(RANDOMSRC)/random random
|
||||||
cp `which random` random
|
|
||||||
|
|
||||||
.PHONY: all clean $(T) aggregate ipfs random
|
.PHONY: all clean $(T) aggregate ipfs random
|
||||||
|
|||||||
Reference in New Issue
Block a user