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