aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-01 12:08:38 +0000
committerFuwn <[email protected]>2021-05-01 12:08:38 +0000
commite33eedb75fb7d859f4a1263249ec8276b8f67ddb (patch)
treef4041f672cc34d3c16819fda5c014817ddbe9eef
parentrefactor(cmds): even more of2m-ifying (diff)
downloadwhirl-e33eedb75fb7d859f4a1263249ec8276b8f67ddb.tar.xz
whirl-e33eedb75fb7d859f4a1263249ec8276b8f67ddb.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