TF-571 Add script to run build_runner in CI/Dockerfile/Pre-build script
This commit is contained in:
committed by
Dat H. Pham
parent
8c96a486d1
commit
47b02da7d3
@@ -30,6 +30,7 @@ RUN cd core \
|
||||
&& cd ../contact \
|
||||
&& 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 get && flutter pub run intl_generator:extract_to_arb --output-dir=./lib/l10n lib/main/localizations/app_localizations.dart \
|
||||
&& flutter pub get && 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 \
|
||||
&& flutter build web --profile \
|
||||
|
||||
Reference in New Issue
Block a user