TF-1204 Add pub run build_runner build for fcm in CI
This commit is contained in:
@@ -15,6 +15,7 @@ jobs:
|
||||
- contact
|
||||
- forward
|
||||
- rule_filter
|
||||
- fcm
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
||||
@@ -33,6 +33,8 @@ RUN cd core \
|
||||
&& 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 ../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 get && flutter pub run intl_generator:extract_to_arb --output-dir=./lib/l10n lib/main/localizations/app_localizations.dart \
|
||||
|
||||
@@ -27,3 +27,7 @@ migrate_working_dir/
|
||||
.dart_tool/
|
||||
.packages
|
||||
build/
|
||||
|
||||
#generated file
|
||||
*.g.dart
|
||||
*.mocks.dart
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
import 'package:fcm/model/firebase_subscription.dart';
|
||||
import 'package:jmap_dart_client/http/converter/id_converter.dart';
|
||||
import 'package:jmap_dart_client/http/converter/state_converter.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/id.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/method/response/get_response.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'firebase_subscription_get_response.g.dart';
|
||||
|
||||
@StateConverter()
|
||||
@IdConverter()
|
||||
@JsonSerializable(explicitToJson: true)
|
||||
class FirebaseSubscriptionGetResponse extends GetResponseNoAccountId<FirebaseSubscription> {
|
||||
|
||||
@@ -23,6 +23,9 @@ flutter pub get && flutter pub run build_runner build --delete-conflicting-outpu
|
||||
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 \
|
||||
|
||||
Reference in New Issue
Block a user