1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 23:53:19 +08:00

use test/bin/random instead of recompiling it

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2018-09-13 09:54:10 -07:00
parent 0252710020
commit 71c65e425b

View File

@ -15,12 +15,11 @@ save_profiling_data:
data/filetiny: Makefile data/filetiny: Makefile
cp Makefile ./data/filetiny # simple cp Makefile ./data/filetiny # simple
data/filerand: bin/random data/filerand: ../bin/random
./bin/random 50000000 > ./data/filerand ../bin/random 50000000 > ./data/filerand
bin/random: $(RANDOMSRC)/**/*.go ../bin/random:
go get github.com/jbenet/go-random make -C ./../../ test/bin/random
go build -o ./bin/random github.com/jbenet/go-random/random
# just build it every time... this part isn't # just build it every time... this part isn't
# even the lengthy part, and it decreases pain. # even the lengthy part, and it decreases pain.