We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7bb41 commit b7a4b45Copy full SHA for b7a4b45
Makefile
@@ -311,7 +311,7 @@ checks: checks-frontend checks-backend
311
checks-frontend: lockfile-check svg-check
312
313
.PHONY: checks-backend
314
-checks-backend: gomod-check swagger-check swagger-validate
+checks-backend: tidy-check swagger-check swagger-validate
315
316
.PHONY: lint
317
lint: lint-frontend lint-backend
@@ -388,9 +388,9 @@ tidy:
388
vendor: tidy
389
$(GO) mod vendor
390
391
-.PHONY: gomod-check
392
-gomod-check: tidy
393
- @diff=$$(git diff go.sum); \
+.PHONY: tidy-check
+tidy-check: tidy
+ @diff=$$(git diff go.mod go.sum); \
394
if [ -n "$$diff" ]; then \
395
echo "Please run 'make tidy' and commit the result:"; \
396
echo "$${diff}"; \
0 commit comments