mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-03 14:18:42 +00:00
Update UI building in Makefile (#3250)
This commit is contained in:
parent
5e2f7d81b3
commit
fc1c4d9b11
1 changed files with 2 additions and 4 deletions
6
Makefile
6
Makefile
|
@ -149,9 +149,7 @@ lint: install-tools ## Lint code
|
|||
@echo "Running golangci-lint"
|
||||
golangci-lint run
|
||||
|
||||
lint-ui: ## Lint UI code
|
||||
(cd web/; pnpm install)
|
||||
(cd web/; pnpm lesshint)
|
||||
lint-ui: ui-dependencies ## Lint UI code
|
||||
(cd web/; pnpm lint --quiet)
|
||||
|
||||
test-agent: ## Test agent code
|
||||
|
@ -180,7 +178,7 @@ test-lib: ## Test lib code
|
|||
go test -race -cover -coverprofile coverage.out -timeout 30s $(shell go list ./... | grep -v '/cmd\|/agent\|/cli\|/server')
|
||||
|
||||
.PHONY: test
|
||||
test: test-agent test-server test-server-datastore test-cli test-lib test-ui ## Run all tests
|
||||
test: test-agent test-server test-server-datastore test-cli test-lib ## Run all tests
|
||||
|
||||
##@ Build
|
||||
|
||||
|
|
Loading…
Reference in a new issue