Download this file
| 1 | #!/bin/sh |
| 2 | set -eu |
| 3 | cd "$(dirname "$0")/.." |
| 4 | if [ "${OFICINA_SKIP_PREPARE:-0}" != 1 ]; then ./scripts/build-bridge.sh; ./scripts/build-rnnoise.sh; ./scripts/build-deepfilter.sh; fi |
| 5 | configuration="${OFICINA_BUILD_CONFIGURATION:-debug}" |
| 6 | swift build --package-path apple --configuration "$configuration" --product CallsMac |
| 7 | python3 scripts/bundle-mac.py "$configuration" |
| 8 | shared_native="${OFICINA_NATIVE_PACKAGE_PATH:-apple/.build/checkouts/native}" |
| 9 | python3 "$shared_native/tools/mac_updates.py" build/Calls.app --package apple "$@" |
| 10 | printf 'Built %s/build/Calls.app\n' "$PWD" |
| 11 | |