Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
build(ui): format make target to run prettier
Browse files Browse the repository at this point in the history
Signed-off-by: András Jáky <[email protected]>
  • Loading branch information
akijakya committed Jul 25, 2024
1 parent b817ff0 commit 62d6c73
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,17 @@ E2E_ENV_K8S += VMCLARITY_E2E_PLATFORM=kubernetes
e2e-k8s: $(E2E_TARGETS) ## Run end-to-end test suite on Kubernetes
$(E2E_ENV_K8S) $(E2E_COMMAND)

.PHONY: format
format: format-ui ## Format all source code

.PHONY: format-ui
format-ui: ## Format UI source code
@(cd ui && npm run prettier:format)

.PHONY: format-ui-check
format-ui-check: ## Format UI source code
@(cd ui && npm run prettier:check)

VENDORMODULES = $(addprefix vendor-, $(GOMODULES))

$(VENDORMODULES):
Expand Down

0 comments on commit 62d6c73

Please sign in to comment.