Browse Source

fix and readd test-vendor step

pull/18280/head
a1012112796 3 years ago
parent
commit
686e8ded28
No known key found for this signature in database
GPG Key ID: CE07FB063B38A62C
  1. 4
      Makefile

4
Makefile

@ -295,7 +295,7 @@ checks: checks-frontend checks-backend
checks-frontend: svg-check checks-frontend: svg-check
.PHONY: checks-backend .PHONY: checks-backend
checks-backend: swagger-check swagger-validate checks-backend: test-vendor swagger-check swagger-validate
.PHONY: lint .PHONY: lint
lint: lint-frontend lint-backend lint: lint-frontend lint-backend
@ -371,7 +371,7 @@ vendor:
.PHONY: test-vendor .PHONY: test-vendor
test-vendor: vendor test-vendor: vendor
@diff=$$(git diff vendor/); \ @diff=$$(git diff go.mod go.sum); \
if [ -n "$$diff" ]; then \ if [ -n "$$diff" ]; then \
echo "Please run 'make vendor' and commit the result:"; \ echo "Please run 'make vendor' and commit the result:"; \
echo "$${diff}"; \ echo "$${diff}"; \

Loading…
Cancel
Save