forked from fluttercommunity/flutter_uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Activate google-java-format & CI (fluttercommunity#20)
* Initial Cirrus CI configuration. * Format MainActivity * Correct .cirrus.yml formatting. * Cleanup .gitignore. * remove IDE files * Simplify CI script - only format & analyze for the moment. * Let the format.sh script output the expected format. * Use the google-java-format plugin to reformat all Java files. * Fix import formatting * More helpful formatter script.
- Loading branch information
1 parent
fbf8393
commit ca004cf
Showing
16 changed files
with
165 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM cirrusci/flutter:stable | ||
|
||
RUN yes | sdkmanager \ | ||
"platforms;android-27" \ | ||
"build-tools;27.0.3" \ | ||
"extras;google;m2repository" \ | ||
"extras;android;m2repository" | ||
|
||
RUN yes | sdkmanager --licenses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
task: | ||
container: | ||
dockerfile: .ci/Dockerfile | ||
cpu: 8 | ||
memory: 16G | ||
# upgrade_script: | ||
# - flutter channel master | ||
# - flutter upgrade | ||
# - git fetch origin master | ||
# activate_script: pub global activate flutter_plugin_tools | ||
matrix: | ||
- name: test+format | ||
# install_script: | ||
# - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | ||
# - sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main" | ||
# - sudo apt-get update | ||
# - sudo apt-get install -y --allow-unauthenticated clang-format-7 | ||
format_script: script/format.sh | ||
- name: analyze | ||
script: | ||
- pub global activate tuneup | ||
- flutter packages get | ||
- pub global run tuneup check | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,43 @@ | ||
.DS_Store | ||
.dart_tool/ | ||
.atom/ | ||
.idea/ | ||
.vscode/ | ||
|
||
.packages | ||
.pub/ | ||
.dart_tool/ | ||
pubspec.lock | ||
flutter_export_environment.sh | ||
|
||
build/ | ||
|
||
node_modules/ | ||
examples/all_plugins/pubspec.yaml | ||
|
||
pubspec.lock | ||
Podfile | ||
Podfile.lock | ||
.firebaserc | ||
Pods/ | ||
.symlinks/ | ||
**/Flutter/App.framework/ | ||
**/Flutter/Flutter.framework/ | ||
**/Flutter/Generated.xcconfig | ||
**/Flutter/flutter_assets/ | ||
ServiceDefinitions.json | ||
xcuserdata/ | ||
*.xcworkspace | ||
**/DerivedData/ | ||
|
||
local.properties | ||
keystore.properties | ||
.gradle/ | ||
gradlew | ||
gradlew.bat | ||
gradle-wrapper.jar | ||
*.iml | ||
|
||
GeneratedPluginRegistrant.h | ||
GeneratedPluginRegistrant.m | ||
GeneratedPluginRegistrant.java | ||
build/ | ||
.flutter-plugins | ||
|
||
.project | ||
.classpath | ||
.settings |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.