chore(build): improve generator build time [skip ci]

This commit is contained in:
Jagandeep Brar
2022-02-25 16:22:28 -05:00
parent 05ee569b14
commit e3d9ad2604
4 changed files with 22 additions and 22 deletions

View File

@@ -1,7 +1,28 @@
targets:
$default:
sources:
- lib/**
- pubspec.*
- $package$
builders:
# Envify
envify_generator|envify:
enabled: true
generate_for:
exclude:
- lib
include:
- lib/core/system/flavor.dart
# Hive
hive_generator:
enabled: true
# JSON Serializable
json_serializable:
enabled: true
options:
explicit_to_json: true
include_if_null: false
# Retrofit
retrofit_generator|retrofit:
enabled: true

View File

@@ -49,18 +49,6 @@ cocoapods:
- pod setup
- pod install --repo-update
coverage:
create:
(description): Coverage - Create Coverage Report
(execution): once
(scripts):
- flutter test --coverage
upload:
(description): Coverage - Upload to codecov
(execution): once
(scripts):
- bash <(curl -s https://codecov.io/bash)
fastlane:
update:
(description): Fastlane - Update Bundled Version

View File

@@ -205,7 +205,7 @@ packages:
source: hosted
version: "3.0.1"
coverage:
dependency: "direct dev"
dependency: transitive
description:
name: coverage
url: "https://pub.dartlang.org"
@@ -744,13 +744,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
mockito:
dependency: "direct dev"
description:
name: mockito
url: "https://pub.dartlang.org"
source: hosted
version: "5.1.0"
modal_bottom_sheet:
dependency: "direct main"
description:

View File

@@ -74,8 +74,6 @@ dev_dependencies:
flutter_lints: ^1.0.4
flutter_native_splash: ^2.0.5
# Testing
coverage: ^1.1.0
mockito: ^5.1.0
test: ^1.20.1
dependency_overrides: