@@ -253,7 +253,7 @@ swagger-validate:
253
253
.PHONY : errcheck
254
254
errcheck :
255
255
@hash errcheck > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
256
- $(GO ) get -u github.com/kisielk/errcheck; \
256
+ GO111MODULE=off $(GO ) get -u github.com/kisielk/errcheck; \
257
257
fi
258
258
errcheck $(GO_PACKAGES )
259
259
@@ -264,14 +264,14 @@ revive:
264
264
.PHONY : misspell-check
265
265
misspell-check :
266
266
@hash misspell > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
267
- $(GO ) get -u github.com/client9/misspell/cmd/misspell; \
267
+ GO111MODULE=off $(GO ) get -u github.com/client9/misspell/cmd/misspell; \
268
268
fi
269
269
misspell -error -i unknwon,destory $(GO_SOURCES_OWN )
270
270
271
271
.PHONY : misspell
272
272
misspell :
273
273
@hash misspell > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
274
- $(GO ) get -u github.com/client9/misspell/cmd/misspell; \
274
+ GO111MODULE=off $(GO ) get -u github.com/client9/misspell/cmd/misspell; \
275
275
fi
276
276
misspell -w -i unknwon $(GO_SOURCES_OWN )
277
277
@@ -529,7 +529,7 @@ $(DIST_DIRS):
529
529
.PHONY : release-windows
530
530
release-windows : | $(DIST_DIRS )
531
531
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
532
- $(GO ) get -u src.techknowlogick.com/xgo; \
532
+ GO111MODULE=off $(GO ) get -u src.techknowlogick.com/xgo; \
533
533
fi
534
534
CGO_CFLAGS=" $( CGO_CFLAGS) " GO111MODULE=off xgo -go $(XGO_VERSION ) -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' windows/*' -out gitea-$(VERSION ) .
535
535
ifeq ($(CI ) ,drone)
@@ -539,7 +539,7 @@ endif
539
539
.PHONY : release-linux
540
540
release-linux : | $(DIST_DIRS )
541
541
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
542
- $(GO ) get -u src.techknowlogick.com/xgo; \
542
+ GO111MODULE=off $(GO ) get -u src.techknowlogick.com/xgo; \
543
543
fi
544
544
CGO_CFLAGS=" $( CGO_CFLAGS) " GO111MODULE=off xgo -go $(XGO_VERSION ) -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' -linkmode external -extldflags "-static" $(LDFLAGS)' -targets ' linux/amd64,linux/386,linux/arm-5,linux/arm-6,linux/arm64,linux/mips64le,linux/mips,linux/mipsle' -out gitea-$(VERSION ) .
545
545
ifeq ($(CI ) ,drone)
@@ -549,7 +549,7 @@ endif
549
549
.PHONY : release-darwin
550
550
release-darwin : | $(DIST_DIRS )
551
551
@hash xgo > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
552
- $(GO ) get -u src.techknowlogick.com/xgo; \
552
+ GO111MODULE=off $(GO ) get -u src.techknowlogick.com/xgo; \
553
553
fi
554
554
CGO_CFLAGS=" $( CGO_CFLAGS) " GO111MODULE=off xgo -go $(XGO_VERSION ) -dest $(DIST ) /binaries -tags ' netgo osusergo $(TAGS)' -ldflags ' $(LDFLAGS)' -targets ' darwin/*' -out gitea-$(VERSION ) .
555
555
ifeq ($(CI ) ,drone)
0 commit comments