blob: e15c2f30de2cf74d3d76df73d46312894fc56856 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# -------------
# | Variables |
# -------------
FLAGS = -d -t # These are just generally useful for development.
# BOTH of these variables will vary depending on your system's configuration, ideally, you should
# know the correct values for your own system.
#
# If you DON'T know the correct values, DO NOT file an issue on GitHub, ask someone within the
# Whirlsplash Discord server, https://discord.com/invite/8hn6padWF6.
WORLDS_PATH = "C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\WorldsPlayer.exe"
WORLDS_RUN = gsudo $(WORLDS_PATH)
# ------------
# | Wrappers |
# ------------
fmt:
cargo fmt
check:
cargo check
# -------------
# | Executors |
# -------------
checkf: fmt check
help: checkf
cargo run -- $(FLAGS) help $(ARGS)
run: checkf
cargo run -- $(FLAGS) run $(ARGS)
# Subject to change depending on different PCs, this is just mine. ~Fuwn
start_client:
$(WORLDS_RUN)
runc: start_client run
|