File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -61,17 +61,15 @@ pkg/install:
61
61
# # test, bench and coverage
62
62
63
63
.PHONY : test
64
- test : GO_LDFLAGS=${GO_LDFLAGS_STATIC}
64
+ test : GO_LDFLAGS=
65
65
test : GO_BUILDTAGS+=${GO_BUILDTAGS_STATIC}
66
- test : GO_FLAGS+=-installsuffix ${GO_INSTALLSUFFIX_STATIC}
67
66
test : # # Runs package test including race condition.
68
67
$(call target)
69
68
@GO111MODULE=on $(GO_TEST ) -v -race -count 1 $(strip $(GO_FLAGS ) ) -run=$(GO_TEST_FUNC ) $(GO_TEST_PKGS )
70
69
71
70
.PHONY : bench
72
- bench : GO_LDFLAGS=${GO_LDFLAGS_STATIC}
71
+ bench : GO_LDFLAGS=
73
72
bench : GO_BUILDTAGS+=${GO_BUILDTAGS_STATIC}
74
- bench : GO_FLAGS+=-installsuffix ${GO_INSTALLSUFFIX_STATIC}
75
73
bench : # # Take a package benchmark.
76
74
$(call target)
77
75
@GO111MODULE=on $(GO_TEST ) -v $(strip $(GO_FLAGS ) ) -run=' ^$$' -bench=$(GO_BENCH_FUNC ) -benchmem $(GO_TEST_PKGS )
@@ -174,12 +172,12 @@ mod/install/static: ## Install the module vendor package as an object file with
174
172
175
173
.PHONY : mod/update
176
174
mod/update : mod/goget mod/tidy mod/vendor mod/install # # Updates all of vendor packages.
177
- @GO111MODULE=on go mod edit -go 1.12
175
+ @GO111MODULE=on go mod edit -go 1.13
178
176
179
177
.PHONY : mod
180
178
mod : mod/init mod/tidy mod/vendor mod/install
181
179
mod : # # Updates the vendoring directory using go mod.
182
- @GO111MODULE=on go mod edit -go 1.12
180
+ @GO111MODULE=on go mod edit -go 1.13
183
181
184
182
185
183
# # clean
You can’t perform that action at this time.
0 commit comments