@@ -279,30 +279,30 @@ swagger-validate:
279
279
.PHONY : errcheck
280
280
errcheck :
281
281
@hash errcheck > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
282
- GO111MODULE=off $(GO ) get -u github.com/kisielk/errcheck; \
282
+ $(GO ) install github.com/kisielk/errcheck@8ddee489636a8311a376fc92e27a6a13c6658344 ; \
283
283
fi
284
284
@echo " Running errcheck..."
285
285
@errcheck $(GO_PACKAGES )
286
286
287
287
.PHONY : revive
288
288
revive :
289
289
@hash revive > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
290
- GO111MODULE=off $(GO ) get -u github.com/mgechev/revive; \
290
+ $(GO ) install github.com/mgechev/revive@v1.1.2 ; \
291
291
fi
292
292
@revive -config .revive.toml -exclude=./vendor/... ./...
293
293
294
294
.PHONY : misspell-check
295
295
misspell-check :
296
296
@hash misspell > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
297
- GO111MODULE=off $(GO ) get -u github.com/client9/misspell/cmd/misspell; \
297
+ $(GO ) install github.com/client9/misspell/cmd/misspell@v0.3.4 ; \
298
298
fi
299
299
@echo " Running misspell-check..."
300
300
@misspell -error -i unknwon $(GO_SOURCES_OWN )
301
301
302
302
.PHONY : misspell
303
303
misspell :
304
304
@hash misspell > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
305
- GO111MODULE=off $(GO ) get -u github.com/client9/misspell/cmd/misspell; \
305
+ $(GO ) install github.com/client9/misspell/cmd/misspell@v0.3.4 ; \
306
306
fi
307
307
@echo " Running go misspell..."
308
308
@misspell -w -i unknwon $(GO_SOURCES_OWN )
@@ -350,7 +350,7 @@ watch-frontend: node-check node_modules
350
350
.PHONY : watch-backend
351
351
watch-backend : go-check
352
352
@hash air > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
353
- GO111MODULE=off $(GO ) get -u github.com/cosmtrek/air; \
353
+ $(GO ) install github.com/cosmtrek/air@bedc18201271882c2be66d216d0e1a275b526ec4 ; \
354
354
fi
355
355
air -c .air.conf
356
356
@@ -661,7 +661,7 @@ release-check: | $(DIST_DIRS)
661
661
.PHONY : release-compress
662
662
release-compress : | $(DIST_DIRS )
663
663
@hash gxz > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
664
- GO111MODULE=off $(GO ) get -u github.com/ulikunitz/xz/cmd/gxz; \
664
+ $(GO ) install github.com/ulikunitz/xz/cmd/gxz@v0.5.10 ; \
665
665
fi
666
666
cd $(DIST ) /release/; for file in ` find . -type f -name " *" ` ; do echo " compressing $$ {file}" && gxz -k -9 $$ {file}; done ;
667
667
0 commit comments