mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-30 20:24:25 +00:00
chore(build): improve generator build time [skip ci]
This commit is contained in:
21
build.yaml
21
build.yaml
@@ -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
|
||||
|
||||
12
derry.yaml
12
derry.yaml
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user