Include cid-fmt binary in test/bin.
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
Kevin Atkinson committed
Jul 28, 2018 at 02:12 UTC
1e7b2559e445b50edd67b0cb0121b1f96fd51afa
2 files changed
+8
-1
test/bin/Rules.mk
+6
@@ -39,6 +39,12 @@ $(d)/multihash:
39
go build -i $(go-flags-with-tags) -o "$@" "gx/ipfs/$(shell gx deps find go-multihash)/go-multihash/multihash"
40
TGTS_$(d) += $(d)/multihash
41
42
+# cid-fmt is also special
43
+$(d)/cid-fmt:
44
+ go build -i $(go-flags-with-tags) -o "$@" "gx/ipfs/$(shell gx deps find go-cid)/go-cid/cid-fmt"
45
+TGTS_$(d) += $(d)/cid-fmt
46
+
47
+
48
$(TGTS_$(d)): $$(DEPS_GO)
49
50
CLEAN += $(TGTS_$(d))
test/sharness/Rules.mk
+2
-1
@@ -6,7 +6,8 @@ T_$(d) = $(sort $(wildcard $(d)/t[0-9][0-9][0-9][0-9]-*.sh))
6
7
DEPS_$(d) := test/bin/random test/bin/multihash test/bin/pollEndpoint \
8
test/bin/iptb test/bin/go-sleep test/bin/random-files \
9
- test/bin/go-timeout test/bin/hang-fds test/bin/ma-pipe-unidir
9
+ test/bin/go-timeout test/bin/hang-fds test/bin/ma-pipe-unidir \
10
+ test/bin/cid-fmt
11
DEPS_$(d) += cmd/ipfs/ipfs
12
DEPS_$(d) += $(d)/clean-test-results
13
DEPS_$(d) += $(SHARNESS_$(d))