Update UI building in Makefile (#3250)

This commit is contained in:
qwerty287 2024-01-22 08:10:28 +01:00 committed by GitHub
parent 5e2f7d81b3
commit fc1c4d9b11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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