Skip to content

Commit 1d599f2

Browse files
committed
update clean code and gitlab-ci github action
1 parent deb56ae commit 1d599f2

File tree

302 files changed

+4753
-2750
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+4753
-2750
lines changed

.config/firebase/beta/GoogleService-Info.plist

Whitespace-only changes.

.config/firebase/beta/google-services.json

Whitespace-only changes.

.config/firebase/prod/GoogleService-Info.plist

Whitespace-only changes.

.config/firebase/prod/google-services.json

Whitespace-only changes.

.config/firebase/qc/GoogleService-Info.plist

Whitespace-only changes.

.config/firebase/qc/google-services.json

Whitespace-only changes.

.config/ic_launcher/ic_launcher.png

1.41 KB
Loading
1.41 KB
Loading
1.41 KB
Loading

.github/workflows/config.yml

+7-24
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,15 @@ jobs:
1414
name: install dependencies
1515
runs-on: macos-latest
1616
steps:
17-
- uses: actions/checkout@v1
18-
- uses: subosito/flutter-action@v1
17+
- uses: actions/checkout@v3
18+
- uses: subosito/flutter-action@v2
1919
with:
20-
flutter-version: '2.2.2'
20+
flutter-version: '2.8.0'
2121
channel: 'stable'
22-
- uses: actions/checkout@v2
23-
- uses: actions/setup-node@v1
24-
with:
25-
node-version: '12'
26-
- run: npm install
27-
- run: npm test
28-
29-
- name: install dependencies
30-
run: npm run init
3122

23+
- run: flutter --version
24+
- run: flutter pub get
3225
- name: run tests
3326
run: flutter test --coverage
34-
35-
# - name: build run
36-
# - run: flutter run -t lib/main.dart --debug --flavor development
37-
# - run: flutter run -t lib/main.dart --debug --flavor staging
38-
# - run: flutter run -t lib/main.dart --debug --flavor preprod
39-
40-
- name: build development
41-
run: flutter build apk -t lib/main.dart --release --flavor development
42-
# - name: build staging
43-
# run: flutter build apk -t lib/main.dart --flavor staging
44-
# - name: build preprod
45-
# run: flutter build apk -t lib/main.dart --flavor preprod
27+
- name: run codequality
28+
run: flutter test --coverage

.gitignore

+17-169
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,5 @@
1-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
2-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
3-
4-
# User-specific stuff
5-
.idea/**/workspace.xml
6-
.idea/**/tasks.xml
7-
.idea/**/usage.statistics.xml
8-
.idea/**/dictionaries
9-
.idea/**/shelf
10-
11-
# Generated files
12-
.idea/**/contentModel.xml
13-
14-
# Sensitive or high-churn files
15-
.idea/**/dataSources/
16-
.idea/**/dataSources.ids
17-
.idea/**/dataSources.local.xml
18-
.idea/**/sqlDataSources.xml
19-
.idea/**/dynamic.xml
20-
.idea/**/uiDesigner.xml
21-
.idea/**/dbnavigator.xml
22-
23-
# Gradle
24-
.idea/**/gradle.xml
25-
.idea/**/libraries
26-
27-
# Gradle and Maven with auto-import
28-
# When using Gradle or Maven with auto-import, you should exclude module files,
29-
# since they will be recreated, and may cause churn. Uncomment if using
30-
# auto-import.
31-
# .idea/artifacts
32-
# .idea/compiler.xml
33-
# .idea/jarRepositories.xml
34-
.idea/modules.xml
35-
.idea/*.iml
36-
.idea/modules
37-
.idea/vcs.xml
38-
# *.iml
39-
# *.ipr
40-
41-
# CMake
42-
cmake-build-*/
43-
44-
# Mongo Explorer plugin
45-
.idea/**/mongoSettings.xml
46-
47-
# File-based project format
48-
*.iws
49-
50-
# IntelliJ
51-
out/
52-
53-
# mpeltonen/sbt-idea plugin
54-
.idea_modules/
55-
56-
# JIRA plugin
57-
atlassian-ide-plugin.xml
58-
59-
# Cursive Clojure plugin
60-
.idea/replstate.xml
61-
62-
# Crashlytics plugin (for Android Studio and IntelliJ)
63-
com_crashlytics_export_strings.xml
64-
crashlytics.properties
65-
crashlytics-build.properties
66-
fabric.properties
67-
68-
# Editor-based Rest Client
69-
.idea/httpRequests
70-
71-
# Android studio 3.1+ serialized cache file
72-
.idea/caches/build_file_checksums.ser
73-
741
# Miscellaneous
752
*.class
76-
*.lock
773
*.log
784
*.pyc
795
*.swp
@@ -86,114 +12,36 @@ fabric.properties
8612
# IntelliJ related
8713
*.iml
8814
*.ipr
15+
*.iws
8916
.idea/
90-
.gradle/
91-
.idea
9217

93-
# Visual Studio Code related
94-
.classpath
95-
.project
96-
.settings/
97-
.vscode/
98-
99-
# Flutter repo-specific
100-
/bin/cache/
101-
/bin/mingit/
102-
/dev/benchmarks/mega_gallery/
103-
/dev/bots/.recipe_deps
104-
/dev/bots/android_tools/
105-
/dev/docs/doc/
106-
/dev/docs/flutter.docs.zip
107-
/dev/docs/lib/
108-
/dev/docs/pubspec.yaml
109-
/dev/integration_tests/**/xcuserdata
110-
/dev/integration_tests/**/Pods
111-
/packages/flutter/coverage/
112-
version
113-
114-
# packages file containing multi-root paths
115-
.packages.generated
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
11622

11723
# Flutter/Dart/Pub related
11824
**/doc/api/
25+
**/ios/Flutter/.last_build_id
11926
.dart_tool/
12027
.flutter-plugins
12128
.flutter-plugins-dependencies
12229
.packages
12330
.pub-cache/
12431
.pub/
125-
build/
126-
flutter_*.png
127-
linked_*.ds
128-
unlinked.ds
129-
unlinked_spec.ds
130-
*.g.dart
131-
/ios/Flutter/.last_build_id
132-
lib/generated/
133-
134-
# Android related
135-
**/android/**/gradle-wrapper.jar
136-
**/android/.gradle
137-
**/android/captures/
138-
**/android/gradlew
139-
**/android/gradlew.bat
140-
**/android/local.properties
141-
**/android/**/GeneratedPluginRegistrant.java
142-
**/android/key.properties
143-
**/android/app/src/production/
144-
*.jks
145-
146-
# iOS/XCode related
147-
**/ios/**/*.mode1v3
148-
**/ios/**/*.mode2v3
149-
**/ios/**/*.moved-aside
150-
**/ios/**/*.pbxuser
151-
**/ios/**/*.perspectivev3
152-
**/ios/**/*sync/
153-
**/ios/**/.sconsign.dblite
154-
**/ios/**/.tags*
155-
**/ios/**/.vagrant/
156-
**/ios/**/DerivedData/
157-
**/ios/**/Icon?
158-
**/ios/**/Pods/
159-
**/ios/**/.symlinks/
160-
**/ios/**/profile
161-
**/ios/**/xcuserdata
162-
**/ios/.generated/
163-
**/ios/Flutter/App.framework
164-
**/ios/Flutter/Flutter.framework
165-
**/ios/Flutter/Flutter.podspec
166-
**/ios/Flutter/Generated.xcconfig
167-
**/ios/Flutter/app.flx
168-
**/ios/Flutter/app.zip
169-
**/ios/Flutter/flutter_assets/
170-
**/ios/Flutter/flutter_export_environment.sh
171-
**/ios/ServiceDefinitions.json
172-
**/ios/Runner/GeneratedPluginRegistrant.*
173-
**/ios/vendor/*
174-
175-
# macOS
176-
**/macos/Flutter/GeneratedPluginRegistrant.swift
177-
**/macos/Flutter/Flutter-Debug.xcconfig
178-
**/macos/Flutter/Flutter-Release.xcconfig
179-
**/macos/Flutter/Flutter-Profile.xcconfig
32+
/build/
33+
/coverage/
18034

181-
# Coverage
182-
coverage/
35+
# Web related
36+
lib/generated_plugin_registrant.dart
18337

184-
# Symbols
38+
# Symbolication related
18539
app.*.symbols
18640

187-
# Exceptions to above rules.
188-
!**/ios/**/default.mode1v3
189-
!**/ios/**/default.mode2v3
190-
!**/ios/**/default.pbxuser
191-
!**/ios/**/default.perspectivev3
192-
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
193-
!/dev/ci/**/Gemfile.lock
41+
# Obfuscation related
42+
app.*.map.json
19443

195-
# Android keystores
196-
/android/keystore.properties
197-
/android/app/master.keystore
198-
/node_modules/
199-
!.idea/
44+
# Android Studio will place build artifacts here
45+
/android/app/debug
46+
/android/app/profile
47+
/android/app/release

0 commit comments

Comments
 (0)