Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit d0935c0

Browse files
authored
adds a minimal makefile for rust (#51)
# adds a minimal makefile for rust This PR adds a Makefile to standardize typical Rust project tasks for linting, testing, and building artifacts from this repo.
1 parent c88f23b commit d0935c0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Makefile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.PHONY: build
2+
build:
3+
@cargo b --release
4+
5+
.PHONY: clean
6+
clean:
7+
@cargo clean
8+
9+
.PHONY: check
10+
check:
11+
@cargo check
12+
13+
.PHONY: test
14+
test:
15+
@cargo test
16+
17+
.PHONY: fmt
18+
fmt:
19+
@cargo fmt --all
20+
21+
.PHONY: clippy
22+
clippy:
23+
@cargo clippy --all-targets --all-features --workspace -- -D warnings

0 commit comments

Comments
 (0)