Skip to content

Commit

Permalink
adds a minimal makefile for rust (#51)
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
dylanlott authored Oct 21, 2024
1 parent c88f23b commit d0935c0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.PHONY: build
build:
@cargo b --release

.PHONY: clean
clean:
@cargo clean

.PHONY: check
check:
@cargo check

.PHONY: test
test:
@cargo test

.PHONY: fmt
fmt:
@cargo fmt --all

.PHONY: clippy
clippy:
@cargo clippy --all-targets --all-features --workspace -- -D warnings

0 comments on commit d0935c0

Please sign in to comment.