From a54377e4b79bf7074affad1a0a148c3955d5c5c0 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Wed, 1 Dec 2021 11:03:27 -0500 Subject: [PATCH] Add more commands to makefile --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fa1960f..c06c62b 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file +fix: fmt + cargo fix --allow-dirty --allow-staged + +.phony: run-pi clean check run fmt fix \ No newline at end of file