diff options
| author | Fuwn <[email protected]> | 2021-04-30 13:18:56 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-04-30 13:18:56 +0000 |
| commit | 1ee02bba58be7fd62903da6529069d64b13ea228 (patch) | |
| tree | eabf398e10d534bb58695a927f30a00da8149263 | |
| parent | refactor(commands): rename subscribe command module to subscribe_room (diff) | |
| download | whirl-1ee02bba58be7fd62903da6529069d64b13ea228.tar.xz whirl-1ee02bba58be7fd62903da6529069d64b13ea228.zip | |
refactor(makefile): restructure `Makefile` for readability
| -rw-r--r-- | Makefile | 25 |
1 files changed, 20 insertions, 5 deletions
@@ -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 |