Skip to content

Commit 8b10b0b

Browse files
committed
Add mod to makefile
Signed-off-by: German Maglione <[email protected]>
1 parent 3664010 commit 8b10b0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ output_dir = bin
33
build_tags = exclude_graphdriver_btrfs,btrfs_noversion,exclude_graphdriver_devicemapper,containers_image_openpgp,remote
44

55
all: out_dir
6-
go build -tags $(build_tags) $(GOOPTS) -o $(output_dir)/$(binary_name)
6+
go build -mod=vendor -tags $(build_tags) $(GOOPTS) -o $(output_dir)/$(binary_name)
77

88
out_dir:
99
mkdir -p $(output_dir)
@@ -12,7 +12,7 @@ lint:
1212
golangci-lint --build-tags $(build_tags) run
1313

1414
integration_tests:
15-
ginkgo run -tags $(build_tags) --skip-package test ./...
15+
ginkgo run -tags $(build_tags) --mod=vendor --skip-package test ./...
1616

1717
# !! These tests will modify your system's resources. See note in e2e_test.go. !!
1818
e2e_test: all

0 commit comments

Comments
 (0)