-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (31 loc) · 870 Bytes
/
Makefile
File metadata and controls
42 lines (31 loc) · 870 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
.PHONY: all build test lint fmt clean install audit
all: fmt lint test build
build:
cargo build --release --workspace
test:
cargo test --workspace --verbose
lint:
cargo clippy --workspace --all-targets -- -D warnings
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all -- --check
audit:
cargo audit
clean:
cargo clean
install:
cargo install --path crates/cli
ci: fmt-check lint audit test
help:
@echo "Available targets:"
@echo " all - Format, lint, test, and build"
@echo " build - Build release binaries"
@echo " test - Run all tests"
@echo " lint - Run clippy lints"
@echo " fmt - Format code"
@echo " fmt-check - Check code formatting"
@echo " audit - Run security audit"
@echo " clean - Clean build artifacts"
@echo " install - Install CLI binary"
@echo " ci - Run CI checks"