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: build run test clean fmt fmt-check clippy taplo taplo-check deny-check pre-release
build:
cargo build --all
release:
cargo build --release
run:
cargo run
test:
cargo test
clean:
cargo clean
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all --check
clippy:
cargo clippy --all --all-features -- -D warnings
taplo:
taplo format
taplo-check:
taplo format --check
deny-check:
cargo deny --all-features check
.PHONY: pre-release
pre-release:
make fmt
make clippy
make test
make taplo
make deny-check