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.

2 vuotta sitten
2 vuotta sitten
2 vuotta sitten
123456789101112131415161718192021222324
  1. #!/bin/bash
  2. project=$1
  3. # Check if main.lua exists:
  4. if [[ ! -f "main.lua" ]]; then
  5. echo -e "\e[31m !! Could not find main.lua file, terminating build process !! \e[0m"
  6. exit 1
  7. fi
  8. # Give Permissions and check for build directory:
  9. chmod +x -R ./.build
  10. if [[ ! -d ./.build/builds ]]; then
  11. mkdir ./.build/builds
  12. fi
  13. # Build .love
  14. ./.build/make-love.sh $project
  15. # Build .exe
  16. ./.build/make-exe.sh $project
  17. # End
  18. echo -e "\e[1;33m Finished Building Project! \e[0m"
  19. exit 0