forked from potproject/code-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 667 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 667 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
## Makefile
.PHONY: help setup lint fmt test build release docs clean
help: ## Show this help.
@grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) | \
sed 's/\t/ /g' | \
awk 'BEGIN {FS = ":.*?## "}; { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 }'
setup: ## Install project dependencies.
npm install
lint: ## Run ESLint.
npm run lint
fmt: ## Run Prettier.
npm run format
test: ## Run tests.
npm test
build: ## Build project.
npm run build
release: ## Bump version and publish.
npm run release
docs: ## No build step for docs; Markdown files in docs/.
@echo "No docs to build; see docs/"
clean: ## Remove build artifacts.
rm -rf dist coverage