diff --git a/.gitignore b/.gitignore index f7b9ff7..90254f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target /user +*.zip diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..39d733e --- /dev/null +++ b/Makefile @@ -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}