Skip to content

Commit f8d2e6c

Browse files
committed
Adjust Makefile to run with vendored deps
The test target will fail if any deps are not vendored. Thus, dropping the check target (which was not used).
1 parent b36166c commit f8d2e6c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
GO111MODULE = on
22

3-
check:
4-
@echo "verifying that we have no external dependencies"
5-
@test "$$(go list -m all)" = "github.com/ipfs/fs-repo-migrations"
6-
73
install:
8-
go install
4+
go install -mod=vendor
95
@echo "fs-repo-migrations now installed, type 'fs-repo-migrations' to run"
106

117
test: test_go sharness
128

139
test_go:
14-
go test ./ipfs-5-to-6/... ./ipfs-7-to-8/... # go test ./... fails see #66
10+
go build -mod=vendor
11+
go test -mod=vendor ./...
1512

1613
sharness:
1714
make -C sharness

0 commit comments

Comments
 (0)