mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-22 21:21:43 +08:00
Merge pull request #5297 from ipfs/kevina/cid-fmt
Include cid-fmt binary in test/bin.
This commit is contained in:
@ -39,6 +39,12 @@ $(d)/multihash:
|
|||||||
go build -i $(go-flags-with-tags) -o "$@" "gx/ipfs/$(shell gx deps find go-multihash)/go-multihash/multihash"
|
go build -i $(go-flags-with-tags) -o "$@" "gx/ipfs/$(shell gx deps find go-multihash)/go-multihash/multihash"
|
||||||
TGTS_$(d) += $(d)/multihash
|
TGTS_$(d) += $(d)/multihash
|
||||||
|
|
||||||
|
# cid-fmt is also special
|
||||||
|
$(d)/cid-fmt:
|
||||||
|
go build -i $(go-flags-with-tags) -o "$@" "gx/ipfs/$(shell gx deps find go-cid)/go-cid/cid-fmt"
|
||||||
|
TGTS_$(d) += $(d)/cid-fmt
|
||||||
|
|
||||||
|
|
||||||
$(TGTS_$(d)): $$(DEPS_GO)
|
$(TGTS_$(d)): $$(DEPS_GO)
|
||||||
|
|
||||||
CLEAN += $(TGTS_$(d))
|
CLEAN += $(TGTS_$(d))
|
||||||
|
@ -6,7 +6,8 @@ T_$(d) = $(sort $(wildcard $(d)/t[0-9][0-9][0-9][0-9]-*.sh))
|
|||||||
|
|
||||||
DEPS_$(d) := test/bin/random test/bin/multihash test/bin/pollEndpoint \
|
DEPS_$(d) := test/bin/random test/bin/multihash test/bin/pollEndpoint \
|
||||||
test/bin/iptb test/bin/go-sleep test/bin/random-files \
|
test/bin/iptb test/bin/go-sleep test/bin/random-files \
|
||||||
test/bin/go-timeout test/bin/hang-fds test/bin/ma-pipe-unidir
|
test/bin/go-timeout test/bin/hang-fds test/bin/ma-pipe-unidir \
|
||||||
|
test/bin/cid-fmt
|
||||||
DEPS_$(d) += cmd/ipfs/ipfs
|
DEPS_$(d) += cmd/ipfs/ipfs
|
||||||
DEPS_$(d) += $(d)/clean-test-results
|
DEPS_$(d) += $(d)/clean-test-results
|
||||||
DEPS_$(d) += $(SHARNESS_$(d))
|
DEPS_$(d) += $(SHARNESS_$(d))
|
||||||
|
Reference in New Issue
Block a user