-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
54 lines (41 loc) · 801 Bytes
/
Makefile
File metadata and controls
54 lines (41 loc) · 801 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
SCRIPTS = ./dev-scripts
.PHONY: all
all: build lint
.PHONY: build
build:
npm install
uv sync
.PHONY: lint
lint: lint-docs lint-shell lint-secrets lint-workflows
.PHONY: lint-docs
lint-docs:
$(SCRIPTS)/lint-docs.sh
.PHONY: lint-shell
lint-shell:
$(SCRIPTS)/lint-shell-scripts.sh
.PHONY: lint-secrets
lint-secrets:
gitleaks git --pre-commit --redact --staged --no-banner
.PHONY: lint-workflows
lint-workflows:
actionlint --oneline
.PHONY: lint-commit-msg
lint-commit-msg:
$(SCRIPTS)/lint-commit-message.sh
.PHONY: docs
docs:
$(SCRIPTS)/update-docs.sh
.PHONY: install-tools
install-tools:
mise install
brew install shellcheck
.PHONY: clean
clean:
rm -rf dist
.PHONY: clean-all
clean-all:
rm -rf node_modules
rm -rf .venv
.PHONY: upgrade-deps
upgrade-deps:
npm run upgrade-deps