A terminal-based dungeon crawler game http://pavela.net/DungeonCli/index.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
887 B

  1. #!/bin/bash
  2. mkdir bin.build
  3. python3 -m nuitka --standalone --remove-output --show-progress --show-scons --output-dir=bin.build --file-reference-choice=runtime DungeonCli.py
  4. if [[ "$OSTYPE" == "darwin"* ]]; then
  5. cp ./DungeonCli.bin ./bin.build/DungeonCli_osx
  6. sudo codesign -f -s - ./bin.build/DungeonCli.dist/Python
  7. elif [[ "$OSTYPE" == "linux-gnu" ]]; then
  8. cp ./DungeonCli.bin ./bin.build/DungeonCli_linux
  9. else
  10. cp ./DungeonCli.bin ./bin.build/DungeonCli
  11. fi
  12. cp -r ./Music ./bin.build/DungeonCli.dist/
  13. cp -r ./Sounds ./bin.build/DungeonCli.dist/
  14. if [[ "$OSTYPE" == "darwin"* ]]; then
  15. cp -r /Library/Frameworks/Python.framework ./bin.build/DungeonCli.dist/
  16. zip -r DungeonCli_MacOS.zip ./bin.build/DungeonCli.dist/
  17. elif [[ "$OSTYPE" == "linux-gnu" ]]; then
  18. zip -r DungeonCli_Linux.zip ./bin.build/DungeonCli.dist/
  19. else
  20. zip -r DungeonCli_Other.zip ./bin.build/DungeonCli.dist/
  21. fi