master
mk 87 lines 2.47 KB
Raw
1 include mk/header.mk
2
3 TGTS_$(d) :=
4
5 define go-build-testdep
6 OUT="$(CURDIR)/$@" ; \
7 cd "test/dependencies" ; \
8 $(GOCC) build $(go-flags-with-tags) -o "$${OUT}" "$<" 2>&1
9 endef
10
11 .PHONY: github.com/ipfs/kubo/test/dependencies/pollEndpoint
12 $(d)/pollEndpoint: github.com/ipfs/kubo/test/dependencies/pollEndpoint
13 $(go-build-testdep)
14 TGTS_$(d) += $(d)/pollEndpoint
15
16 .PHONY: github.com/ipfs/kubo/test/dependencies/go-sleep
17 $(d)/go-sleep: github.com/ipfs/kubo/test/dependencies/go-sleep
18 $(go-build-testdep)
19 TGTS_$(d) += $(d)/go-sleep
20
21 .PHONY: github.com/ipfs/kubo/test/dependencies/go-timeout
22 $(d)/go-timeout: github.com/ipfs/kubo/test/dependencies/go-timeout
23 $(go-build-testdep)
24 TGTS_$(d) += $(d)/go-timeout
25
26 .PHONY: github.com/ipfs/kubo/test/dependencies/iptb
27 $(d)/iptb: github.com/ipfs/kubo/test/dependencies/iptb
28 $(go-build-testdep)
29 TGTS_$(d) += $(d)/iptb
30
31 .PHONY: github.com/ipfs/kubo/test/dependencies/ma-pipe-unidir
32 $(d)/ma-pipe-unidir: github.com/ipfs/kubo/test/dependencies/ma-pipe-unidir
33 $(go-build-testdep)
34 TGTS_$(d) += $(d)/ma-pipe-unidir
35
36 .PHONY: github.com/ipfs/kubo/test/dependencies/json-to-junit
37 $(d)/json-to-junit: github.com/ipfs/kubo/test/dependencies/json-to-junit
38 $(go-build-testdep)
39 TGTS_$(d) += $(d)/json-to-junit
40
41 .PHONY: gotest.tools/gotestsum
42 $(d)/gotestsum: gotest.tools/gotestsum
43 $(go-build-testdep)
44 TGTS_$(d) += $(d)/gotestsum
45
46 .PHONY: github.com/ipfs/hang-fds
47 $(d)/hang-fds: github.com/ipfs/hang-fds
48 $(go-build-testdep)
49 TGTS_$(d) += $(d)/hang-fds
50
51 .PHONY: github.com/multiformats/go-multihash/multihash
52 $(d)/multihash: github.com/multiformats/go-multihash/multihash
53 $(go-build-testdep)
54 TGTS_$(d) += $(d)/multihash
55
56 .PHONY: github.com/ipfs/go-cidutil/cid-fmt
57 $(d)/cid-fmt: github.com/ipfs/go-cidutil/cid-fmt
58 $(go-build-testdep)
59 TGTS_$(d) += $(d)/cid-fmt
60
61 .PHONY: github.com/ipfs/go-test/cli/random-data
62 $(d)/random-data: github.com/ipfs/go-test/cli/random-data
63 $(go-build-testdep)
64 TGTS_$(d) += $(d)/random-data
65
66 .PHONY: github.com/ipfs/go-test/cli/random-files
67 $(d)/random-files: github.com/ipfs/go-test/cli/random-files
68 $(go-build-testdep)
69 TGTS_$(d) += $(d)/random-files
70
71 .PHONY: github.com/Kubuxu/gocovmerge
72 $(d)/gocovmerge: github.com/Kubuxu/gocovmerge
73 $(go-build-testdep)
74 TGTS_$(d) += $(d)/gocovmerge
75
76 .PHONY: github.com/golangci/golangci-lint/cmd/golangci-lint
77 $(d)/golangci-lint: github.com/golangci/golangci-lint/cmd/golangci-lint
78 $(go-build-testdep)
79 TGTS_$(d) += $(d)/golangci-lint
80
81 $(TGTS_$(d)): $$(DEPS_GO)
82
83 CLEAN += $(TGTS_$(d))
84
85 PATH := $(realpath $(d)):$(PATH)
86
87 include mk/footer.mk