@cryptotaxi247 / kubo / commits / 71c65e425

use test/bin/random instead of recompiling it

License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Sep 13, 2018 at 09:54 UTC 71c65e425bb88daef70b16721a187c1384c1180f
1 file changed +4 -5
test/3nodetest/Makefile
+4 -5
@@ -15,12 +15,11 @@ save_profiling_data:
15 data/filetiny: Makefile
16 cp Makefile ./data/filetiny # simple
17
18 -data/filerand: bin/random
19 - ./bin/random 50000000 > ./data/filerand
18 +data/filerand: ../bin/random
19 + ../bin/random 50000000 > ./data/filerand
20
21 -bin/random: $(RANDOMSRC)/**/*.go
22 - go get github.com/jbenet/go-random
23 - go build -o ./bin/random github.com/jbenet/go-random/random
21 +../bin/random:
22 + make -C ./../../ test/bin/random
23
24 # just build it every time... this part isn't
25 # even the lengthy part, and it decreases pain.