From 71b985166d211655d47511da8c47363dc06f4a8c Mon Sep 17 00:00:00 2001 From: Vhou-Atroph Date: Thu, 28 Mar 2024 00:18:49 -0500 Subject: [PATCH] Added more instructions to makefile --- Makefile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cb919788..1344ab1d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ all: + exe: pip install pyinstaller cargo build --release @@ -7,4 +8,19 @@ exe: pyinstaller "Toontown Damage Calculator.spec" copy ".\src\tt_damage_calculator\assets" ".\dist\assets" copy ".\src\tt_damage_calculator\assets\img" ".\dist\assets\img" - copy "./LICENSE" "./dist" \ No newline at end of file + copy "./LICENSE" "./dist" + +# im currently developing this on my rpi so i need some new makefile instructions for building the calculator here +make-venv: + python -m venv .venv + source .venv/bin/activate + pip install maturin + pip install patchelf + pip install pyinstaller + +exe-linux: + cargo build --release + mv -n target/release/libtt_damage_calculator.so src/tt_damage_calculator/tt_damage_calculator.so + pyinstaller "Toontown Damage Calculator.spec" + cp -r -f src/tt_damage_calculator/assets dist/assets + cp -f LICENSE dist/LICENSE