Skip to content

Commit

Permalink
Allow passing flags from make to cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmichalis committed Jan 30, 2025
1 parent 5f319b8 commit a3744af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ clippy:

.PHONY: test
test:
cargo test
cargo test -- $(filter-out $@,$(MAKECMDGOALS))

.PHONY: check
check:
cargo check
cargo check -- $(filter-out $@,$(MAKECMDGOALS))

.PHONY: run
run:
cargo run
cargo run -- $(filter-out $@,$(MAKECMDGOALS))

0 comments on commit a3744af

Please sign in to comment.