Skip to content

Commit

Permalink
TF-2426 Fix build ci failed with build_runner error
Browse files Browse the repository at this point in the history
  • Loading branch information
dab246 committed Apr 11, 2024
1 parent cf93aa9 commit 15ee722
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions scripts/prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,29 @@ flutter pub get
# flutter pub get && pod install

cd ../model
flutter pub get && dart run build_runner build --delete-conflicting-outputs
flutter clean && flutter pub get && dart run build_runner build --delete-conflicting-outputs

cd ../contact
flutter pub get && dart run build_runner build --delete-conflicting-outputs
flutter clean && flutter pub get && dart run build_runner build --delete-conflicting-outputs

cd ../forward
flutter pub get && dart run build_runner build --delete-conflicting-outputs
flutter clean && flutter pub get && dart run build_runner build --delete-conflicting-outputs

cd ../rule_filter
flutter pub get && dart run build_runner build --delete-conflicting-outputs
flutter clean && flutter pub get && dart run build_runner build --delete-conflicting-outputs

cd ../fcm
flutter pub get && dart run build_runner build --delete-conflicting-outputs
flutter clean && flutter pub get && dart run build_runner build --delete-conflicting-outputs

cd ../email_recovery
flutter pub get && dart run build_runner build --delete-conflicting-outputs
flutter clean && flutter pub get && dart run build_runner build --delete-conflicting-outputs

cd ../server_settings
flutter pub get && dart run build_runner build --delete-conflicting-outputs
flutter clean && flutter pub get && dart run build_runner build --delete-conflicting-outputs

cd ..
flutter pub get \
flutter clean \
&& flutter pub get \
&& dart run build_runner build --delete-conflicting-outputs \
&& dart run intl_generator:extract_to_arb --output-dir=./lib/l10n lib/main/localizations/app_localizations.dart \
&& dart run intl_generator:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/main/localizations/app_localizations.dart lib/l10n/intl*.arb

0 comments on commit 15ee722

Please sign in to comment.