delete CloudKit and added BalanceFlutter
Android CI / Build and Test (push) Failing after 21m18s
iOS CI / Build and Test SwiftUI App (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build Unsigned iOS IPA (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build macOS ZIP (push) Canceled after 0s
Android CI / Build and Test (push) Failing after 21m18s
iOS CI / Build and Test SwiftUI App (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build Unsigned iOS IPA (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build macOS ZIP (push) Canceled after 0s
This commit is contained in:
1 parent
a715eca947
commit
2c278044bb
214 files changed
+13411
-2290
No files matched your search
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
||||
platform="${1:-web}"
|
||||
if [[ $# -gt 0 ]]; then shift; fi
|
||||
flutter_bin="${FLUTTER_BIN:-flutter}"
|
||||
case "$platform" in
|
||||
web|android|ios|macos|windows|linux) ;;
|
||||
watchos)
|
||||
# watchOS uses the existing companion app; Flutter has no watchOS runner.
|
||||
exec xcodebuild -project ../Balance/Balance.xcodeproj -scheme BalanceWatch \
|
||||
-configuration Release -sdk watchsimulator -destination 'generic/platform=watchOS Simulator' \
|
||||
-derivedDataPath build/watchos CODE_SIGNING_ALLOWED=NO build "$@"
|
||||
;;
|
||||
*) echo "Usage: $0 {web|android|ios|macos|windows|linux|watchos} [build options]" >&2; exit 2 ;;
|
||||
esac
|
||||
"$flutter_bin" pub get
|
||||
case "$platform" in
|
||||
web) "$flutter_bin" build web --release --no-web-resources-cdn "$@" ;;
|
||||
android) "$flutter_bin" build apk --release "$@" ;;
|
||||
ios) "$flutter_bin" build ios --release --no-codesign "$@" ;;
|
||||
*) "$flutter_bin" build "$platform" --release "$@" ;;
|
||||
esac
|
||||
Reference in new issue
Block a user