makefile with linux release

This commit is contained in:
Crispy 2024-10-13 13:34:33 +02:00
parent 79fe26414b
commit 7d3b455fcd
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/target /target
/user /user
*.zip

11
Makefile Normal file
View file

@ -0,0 +1,11 @@
release_name = marble_machinations
bin_name = marble2
linux:
cargo build --release
mkdir ${release_name}
cp target/release/${bin_name} ${release_name}/
cp -r assets levels ${release_name}/
zip -r ${release_name}_linux.zip ${release_name}/
rm -rf ${release_name}