aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-01 12:08:38 -0700
committerFuwn <[email protected]>2021-05-01 12:08:38 -0700
commit5d6a135cdca5d678880460a3238d71fe44c2d1e5 (patch)
treeeafafeaacc7119a90f173522bfda735dc49bfbb9
parentrefactor(cmds): even more of2m-ifying (diff)
downloadwhirl-5d6a135cdca5d678880460a3238d71fe44c2d1e5.tar.xz
whirl-5d6a135cdca5d678880460a3238d71fe44c2d1e5.zip
build(make): more helper tasks, mostly for optional checking
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fc37c0d..e15c2f3 100644
--- a/Makefile
+++ b/Makefile
@@ -17,16 +17,18 @@ WORLDS_RUN = gsudo $(WORLDS_PATH)
fmt:
cargo fmt
-check: fmt
+check:
cargo check
# -------------
# | Executors |
# -------------
-help:
+checkf: fmt check
+
+help: checkf
cargo run -- $(FLAGS) help $(ARGS)
-run: check
+run: checkf
cargo run -- $(FLAGS) run $(ARGS)
# Subject to change depending on different PCs, this is just mine. ~Fuwn