mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 10:49:24 +08:00
test: install random locally for travis.
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
#
|
||||
|
||||
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
|
||||
RANDOM=${GOPATH}/bin/random
|
||||
|
||||
all: clean deps $(T) aggregate
|
||||
|
||||
@ -21,7 +20,7 @@ aggregate:
|
||||
@echo "*** $@ ***"
|
||||
./test-aggregate-results.sh
|
||||
|
||||
deps: ipfs sharness.sh ${RANDOM}
|
||||
deps: ipfs sharness.sh random
|
||||
|
||||
# phony to ensure we re-build it every time we run tests
|
||||
ipfs:
|
||||
@ -34,7 +33,8 @@ sharness.sh:
|
||||
|
||||
.PHONY: all clean $(T) aggregate ipfs
|
||||
|
||||
${RANDOM}:
|
||||
random:
|
||||
@echo "*** installing $@ ***"
|
||||
go get github.com/jbenet/go-random/random
|
||||
go install github.com/jbenet/go-random/random
|
||||
cp `which random` random
|
||||
|
Reference in New Issue
Block a user