-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (26 loc) · 857 Bytes
/
Makefile
File metadata and controls
34 lines (26 loc) · 857 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
.PHONY: help install test validate format check build clean
help:
@echo "Available commands:"
@echo " make install - Install CLI locally"
@echo " make test - Run tests"
@echo " make validate - Validate all projects"
@echo " make format - Format code"
@echo " make check - Check code quality"
@echo " make build - Build release binary"
@echo " make clean - Clean build artifacts"
install:
cargo install --path cli
test:
cargo test --manifest-path cli/Cargo.toml
validate:
cargo run --release --manifest-path cli/Cargo.toml -- validate
format:
cargo fmt --manifest-path cli/Cargo.toml
npm run format
check:
cargo clippy --manifest-path cli/Cargo.toml -- -D warnings
npm run format:check
build:
cargo build --release --manifest-path cli/Cargo.toml
clean:
cargo clean --manifest-path cli/Cargo.toml