From fc1c4d9b11a6edb4ac9d01431a9c8652d975b0b8 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Mon, 22 Jan 2024 08:10:28 +0100 Subject: [PATCH] Update UI building in Makefile (#3250) --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0b0f700f5..14c8f1774 100644 --- a/Makefile +++ b/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