Skip to content

Commit

Permalink
fix ci failed
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn committed May 25, 2024
1 parent cb6cbbb commit 782a2d8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-android-apk.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get
flutter build apk --release
mkdir -p build/android
cp build/app/outputs/apk/release/app-release.apk build/android/
1 change: 1 addition & 0 deletions scripts/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ sudo apt-get install -y clang cmake ninja-build \
flutter config --enable-linux-desktop
flutter clean
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get
flutter build linux --release -v
1 change: 1 addition & 0 deletions scripts/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
flutter config --enable-macos-desktop
flutter clean
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get
cd macos
bundle exec fastlane sync_dev_id
pod install --repo-update
Expand Down
1 change: 1 addition & 0 deletions scripts/build-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ flutter config --enable-web
flutter clean
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get
flutter build web --release --verbose --source-maps --base-href="/web/"
cp config.sample.json ./build/web/config.json
1 change: 1 addition & 0 deletions scripts/build-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ echo "Building for Windows."
flutter config --enable-windows-desktop
flutter clean
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get
flutter build windows --release -v

# Building libolm
Expand Down
1 change: 1 addition & 0 deletions scripts/package-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ curl -OL "https://files.jrsoftware.org/is/6/innosetup-6.2.2.exe"
./innosetup-6.2.2.exe //verysilent

echo "Packaging."
flutter pub get
flutter pub global run flutter_distributor:main.dart package --platform windows --targets exe --skip-clean --flutter-build-args="release"
1 change: 1 addition & 0 deletions scripts/prepare-ios.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get
# Use alternate beautifier
brew install xcbeautify
cd ios
Expand Down
1 change: 1 addition & 0 deletions scripts/release-playstore-beta.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
flutter pub get
flutter build appbundle --release
cd android
bundle exec fastlane deploy_internal_test

0 comments on commit 782a2d8

Please sign in to comment.