makefile with linux release
This commit is contained in:
parent
79fe26414b
commit
7d3b455fcd
2 changed files with 12 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
/target
|
||||
/user
|
||||
*.zip
|
||||
|
|
11
Makefile
Normal file
11
Makefile
Normal 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}
|
Loading…
Reference in a new issue