Build Linux and macOS clients with platform update feeds
This commit is contained in:
@@ -8,6 +8,7 @@ rm -rf /tmp/work && mkdir -p /tmp/work
|
||||
# A private copy: the host checkout's build outputs and machine paths stay out.
|
||||
(cd /src && tar --exclude=./build --exclude=./.dart_tool --exclude=./android/.gradle \
|
||||
--exclude=./android/local.properties --exclude=./android/app/.cxx --exclude=./ios/Pods \
|
||||
--exclude=./macos/Pods --exclude=./macos/Flutter/ephemeral --exclude=./linux/flutter/ephemeral \
|
||||
-cf - .) | tar -C /tmp/work -xf -
|
||||
cd /tmp/work
|
||||
flutter pub get
|
||||
@@ -31,6 +32,10 @@ PROPERTIES
|
||||
flutter build apk --release "$@"
|
||||
cp build/app/outputs/flutter-apk/app-release.apk /out/pipelines.apk
|
||||
;;
|
||||
linux)
|
||||
flutter build linux --release "$@"
|
||||
cp -a build/linux/x64/release/bundle/. /out/
|
||||
;;
|
||||
*)
|
||||
echo "unknown build: $kind" >&2
|
||||
exit 2
|
||||
|
||||
Reference in New Issue
Block a user