Files
workavia-mail-front/prebuild.sh
T
Nguyen Thai 146b208631 Splited the test report job for forks
Refactored fastlane for both ios and android

Refactored github workflows

(cherry picked from commit c3ff622af05f87e16ae1cadec0c95c87cca3d763)
2023-06-05 11:02:20 +07:00

34 lines
1.0 KiB
Bash

#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
cd core
flutter pub get
## Install necessary pods
# cd ../ios
# flutter pub get && pod install
cd ../model
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
cd ../contact
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
cd ../forward
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
cd ../rule_filter
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
cd ../fcm
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
cd ..
flutter pub get \
&& flutter pub run build_runner build --delete-conflicting-outputs \
&& flutter pub run intl_generator:extract_to_arb --output-dir=./lib/l10n lib/main/localizations/app_localizations.dart \
&& flutter pub run intl_generator:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/main/localizations/app_localizations.dart lib/l10n/intl*.arb