aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-04-30 13:18:56 +0000
committerFuwn <[email protected]>2021-04-30 13:18:56 +0000
commit1ee02bba58be7fd62903da6529069d64b13ea228 (patch)
treeeabf398e10d534bb58695a927f30a00da8149263
parentrefactor(commands): rename subscribe command module to subscribe_room (diff)
downloadwhirl-1ee02bba58be7fd62903da6529069d64b13ea228.tar.xz
whirl-1ee02bba58be7fd62903da6529069d64b13ea228.zip
refactor(makefile): restructure `Makefile` for readability
-rw-r--r--Makefile25
1 files changed, 20 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 99ecf52..6b41c27 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,28 @@
+# -------------
+# | Variables |
+# -------------
FLAGS = -d -t # These are just generally useful for development.
+# ------------
+# | Wrappers |
+# ------------
+fmt:
+ cargo fmt
+
+check: fmt
+ cargo check
+
+# -------------
+# | Executors |
+# -------------
help:
cargo run -- $(FLAGS) help $(ARGS)
-run:
+run: check
cargo run -- $(FLAGS) run $(ARGS)
-config:
- cargo run -- $(FLAGS) config $(ARGS)
+# Subject to change depending on different PCs, this is just mine. ~Fuwn
+start_client:
+ gsudo "C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\WorldsPlayer.exe"
-fmt:
- cargo fmt
+runc: start_client run