mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
fix and readd test-vendor step
This commit is contained in:
parent
620ee4766a
commit
686e8ded28
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -295,7 +295,7 @@ checks: checks-frontend checks-backend
|
|||
checks-frontend: svg-check
|
||||
|
||||
.PHONY: checks-backend
|
||||
checks-backend: swagger-check swagger-validate
|
||||
checks-backend: test-vendor swagger-check swagger-validate
|
||||
|
||||
.PHONY: lint
|
||||
lint: lint-frontend lint-backend
|
||||
|
@ -371,7 +371,7 @@ vendor:
|
|||
|
||||
.PHONY: test-vendor
|
||||
test-vendor: vendor
|
||||
@diff=$$(git diff vendor/); \
|
||||
@diff=$$(git diff go.mod go.sum); \
|
||||
if [ -n "$$diff" ]; then \
|
||||
echo "Please run 'make vendor' and commit the result:"; \
|
||||
echo "$${diff}"; \
|
||||
|
|
Loading…
Reference in a new issue