Skip to content

Commit

Permalink
Added more instructions to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vhou-Atroph committed Mar 28, 2024
1 parent cc7c135 commit 71b9851
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
all:

exe:
pip install pyinstaller
cargo build --release
Expand All @@ -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"
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

0 comments on commit 71b9851

Please sign in to comment.