build.sh 441 B

123456789101112131415161718
  1. #!/bin/sh
  2. rm -r ./release
  3. boon build .
  4. chmod +x ./release/'Sled.love'
  5. mkdir -p ./release/SledLinux
  6. release_path=./release/SledLinux
  7. filename=sled-linux.tar.gz
  8. mv ./release/'Sled.love' $release_path
  9. cp -r ./assets $release_path
  10. cp -r ./lib $release_path
  11. cp ./scripts/run.sh $release_path/run.sh
  12. cp -r ./cmds $release_path
  13. cp -r ./config $release_path
  14. tar -zcvf $release_path/$filename $release_path
  15. echo File is at: $release_path/$filename