Skip to content

Commit

Permalink
Release 01-08-2021 (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
arafaysaleem authored Aug 1, 2021
1 parent e960694 commit 32f0c7c
Show file tree
Hide file tree
Showing 123 changed files with 7,254 additions and 872 deletions.
5 changes: 4 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,7 @@ native/android:
- any: ['android/**/*']

gradle:
- any: ['android/**/*']
- any: ['android/**/*']

tests:
- any: [ 'test/**/*' ]
4 changes: 3 additions & 1 deletion .github/workflows/PR-merge-build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
run: flutter packages pub run build_runner build --delete-conflicting-outputs
- name: Run Dart Analyzer
run: flutter analyze .
- name: Run tests
run: flutter test

assemble-release:
name: Setup signing keys
Expand Down Expand Up @@ -92,7 +94,7 @@ jobs:
- name: Run build runner for codegen files
run: flutter packages pub run build_runner build --delete-conflicting-outputs
- name: Generate Splitted Release APKs
run: flutter build apk --target-platform android-arm,android-arm64 --split-per-abi --obfuscate --split-debug-info=./ez_tickets_app/debug_trace
run: flutter build apk --target-platform android-arm,android-arm64 --split-per-abi --obfuscate --split-debug-info=./ez_tickets_app/debug_trace --dart-define=BASE_URL=${{ secrets.BASE_URL }}
- name: Remove bundled APK
run: rm build/app/outputs/flutter-apk/app.apk
- name: Upload Built APKs Artifact
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PR-open-test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
files: ./coverage/lcov.info
verbose: true
- name: Attempt Debug APK Build
run: flutter build apk --debug --dart-define=BASE_URL=${{ secrets.BASE_URL }}
run: flutter build apk --debug --dart-define=BASE_URL=${{ secrets.BASE_URL }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ app.*.map.json
*.gr.dart

#keystore
*.jks
*.jks
18 changes: 14 additions & 4 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include: package:effective_dart/analysis_options.yaml
include: package:flutter_lints/flutter.yaml

analyzer:
exclude:
Expand All @@ -8,13 +8,23 @@ analyzer:
errors:
missing_required_param: error
missing_return: error
prefer_const_constructors: error
prefer_const_constructors_in_immutables: error
todo: ignore
strong-mode:
implicit-casts: false
implicit-dynamic: false

linter:
rules:
prefer_single_quotes: true
directives_ordering: false
public_member_api_docs: false #Enable at the end
prefer_double_quotes: false
use_key_in_widget_constructors: false
always_specify_types: false
unnecessary_final: false
public_member_api_docs: false
prefer_expression_function_bodies: false
avoid_classes_with_only_static_members: false
prefer_const_constructors: true
prefer_const_constructors_in_immutables: true
prefer_const_literals_to_create_immutables: true
lines_longer_than_80_chars: false
4 changes: 3 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:label="EZ Ticketz"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/ic_launcher"
android:allowBackup="false"
android:fullBackupContent="false">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
Expand Down
10 changes: 10 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ignore:
- '**/*.gr.dart'
- '**/*.g.dart'
- '**/*.freezed.dart'
- '**/constants.dart'
- '**/custom_theme.dart'
- '**/assets_helper.dart'
- '/android/'
- '/ios/'
- '/build/'
Loading

0 comments on commit 32f0c7c

Please sign in to comment.