1
0
Fork 0

Add more commands to makefile

This commit is contained in:
Timothy Warren 2021-12-01 11:03:27 -05:00
parent 7f8c16a79f
commit a54377e4b7
1 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,6 @@
run:
cargo run
run-pi:
MESA_GL_VERSION_OVERRIDE=3.0 MESA_GLSL_VERSION_OVERRIDE=330 cargo run
@ -8,8 +11,10 @@ check:
cargo check
cargo clippy
fix:
fmt:
cargo fmt
cargo fix
.phony: run-pi clean check
fix: fmt
cargo fix --allow-dirty --allow-staged
.phony: run-pi clean check run fmt fix