-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 766 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (24 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: help setup build dev test lint lint-all clean
help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-12s\033[0m %s\n", $$1, $$2}'
setup: ## Enable corepack and install dependencies (run this first)
corepack enable
yarn install
build: ## Build all packages
yarn build
dev: ## Start the DruxtSite development server
yarn example:druxt-site
test: ## Run unit tests
yarn test:unit
lint: ## Run ESLint
yarn lint
lint-all: ## Run all lint checks (eslint, prettier, markdownlint, cspell, renovate, knip, audit)
yarn lint
yarn lint:format
yarn lint:md
yarn lint:cspell
yarn lint:renovate
yarn lint:knip
yarn lint:audit
clean: ## Remove build artifacts
yarn clean