build.app.command 383 B

12345678910111213141516
  1. #!/bin/bash
  2. # Prepare
  3. cd "$(dirname "$BASH_SOURCE")"
  4. VERSION=$(cat ../../../../VERSION)
  5. # Build & Deploy
  6. cmake ../../../.. -B build -DCMAKE_BUILD_TYPE=Release
  7. cmake --build build --config Release || exit
  8. # Package
  9. mv build/apk-editor-studio.app "APK Editor Studio.app"
  10. ditto -c -k --sequesterRsrc --keepParent "APK Editor Studio.app" "apk-editor-studio_macos_$VERSION.app.zip"