-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (23 loc) · 636 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (23 loc) · 636 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
CARGO ?= cargo
ACTIONLINT ?= actionlint
SHELLCHECK ?= shellcheck
.PHONY: all build check coverage fmt lint security test verify workflows
all: verify
build:
$(CARGO) build --release --workspace --locked
check:
$(CARGO) check --workspace --locked
coverage:
$(CARGO) llvm-cov --workspace --locked --summary-only --fail-under-lines 80
fmt:
$(CARGO) fmt --all
lint:
$(CARGO) clippy --workspace --all-targets --locked -- -D warnings
security:
$(CARGO) deny check
test:
$(CARGO) test --workspace --locked
verify: lint check test workflows
workflows:
$(ACTIONLINT) -color
$(SHELLCHECK) --shell=bash agentskill-scripts/*.sh