forked from davidoberger/packages.flutter
-
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.
- Loading branch information
1 parent
5773578
commit dcffc0c
Showing
17 changed files
with
520 additions
and
158 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:latest | ||
|
||
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,77 @@ | ||
task: | ||
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == '' | ||
container: | ||
dockerfile: .ci/Dockerfile | ||
cpu: 4 | ||
memory: 8G | ||
upgrade_script: | ||
- flutter channel master | ||
- flutter upgrade | ||
- git fetch origin master | ||
activate_script: pub global activate flutter_plugin_tools | ||
matrix: | ||
- name: publishable | ||
script: ./script/check_publish.sh | ||
- 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/incremental_build.sh format --travis --clang-format=clang-format-7 | ||
test_script: ./script/incremental_build.sh test | ||
- name: analyze | ||
script: ./script/incremental_build.sh analyze | ||
- name: build_all_plugins_apk | ||
script: ./script/build_all_plugins_app.sh apk | ||
- name: build-apks+java-test+drive-examples | ||
env: | ||
matrix: | ||
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 2" | ||
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 2" | ||
script: | ||
# Unsetting CIRRUS_CHANGE_MESSAGE and CIRRUS_COMMIT_MESSAGE as they | ||
# might include non-ASCII characters which makes Gradle crash. | ||
# See: https://github.com/flutter/flutter/issues/24935 | ||
# This is a temporary workaround until we figure how to properly configure | ||
# a UTF8 locale on Cirrus (or until the Gradle bug is fixed). | ||
# TODO(amirh): Set the locale to UTF8. | ||
- echo "$CIRRUS_CHANGE_MESSAGE" > /tmp/cirrus_change_message.txt | ||
- echo "$CIRRUS_COMMIT_MESSAGE" > /tmp/cirrus_commit_message.txt | ||
- export CIRRUS_CHANGE_MESSAGE="" | ||
- export CIRRUS_COMMIT_MESSAGE="" | ||
- ./script/incremental_build.sh build-examples --apk | ||
- ./script/incremental_build.sh java-test # must come after apk build | ||
- export CIRRUS_CHANGE_MESSAGE=`cat /tmp/cirrus_change_message.txt` | ||
- export CIRRUS_COMMIT_MESSAGE=`cat /tmp/cirrus_commit_message.txt` | ||
|
||
task: | ||
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' | ||
osx_instance: | ||
image: mojave-xcode-10.2-flutter | ||
setup_script: | ||
- pod repo update | ||
upgrade_script: | ||
- flutter channel master | ||
- flutter upgrade | ||
- git fetch origin master | ||
activate_script: | ||
- pub global activate flutter_plugin_tools | ||
create_simulator_script: | ||
- xcrun simctl list | ||
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-12-2 | xargs xcrun simctl boot | ||
matrix: | ||
- name: build_all_plugins_ipa | ||
script: ./script/build_all_plugins_app.sh ios --no-codesign | ||
- name: build-ipas+drive-examples | ||
env: | ||
PATH: $PATH:/usr/local/bin | ||
matrix: | ||
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 4" | ||
PLUGIN_SHARDING: "--shardIndex 1 --shardCount 4" | ||
PLUGIN_SHARDING: "--shardIndex 2 --shardCount 4" | ||
PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4" | ||
SIMCTL_CHILD_MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550] | ||
build_script: | ||
- ./script/incremental_build.sh build-examples --ipa | ||
- ./script/incremental_build.sh drive-examples |
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,16 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
|
||
[pubspec.yaml] | ||
trim_trailing_whitespace = false | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
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,75 @@ | ||
# Miscellaneous | ||
*.class | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
|
||
# IntelliJ related | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# Visual Studio Code related | ||
.vscode/ | ||
|
||
# Flutter/Dart/Pub related | ||
**/doc/api/ | ||
.dart_tool/ | ||
.flutter-plugins | ||
.packages | ||
.pub-cache/ | ||
.pub/ | ||
/build/ | ||
/packages/**/build/* | ||
|
||
# Android related | ||
**/android/**/gradle-wrapper.jar | ||
**/android/.gradle | ||
**/android/captures/ | ||
**/android/gradlew | ||
**/android/gradlew.bat | ||
**/android/local.properties | ||
**/android/**/GeneratedPluginRegistrant.java | ||
|
||
# iOS/XCode related | ||
**/ios/**/*.mode1v3 | ||
**/ios/**/*.mode2v3 | ||
**/ios/**/*.moved-aside | ||
**/ios/**/*.pbxuser | ||
**/ios/**/*.perspectivev3 | ||
**/ios/**/*sync/ | ||
**/ios/**/.sconsign.dblite | ||
**/ios/**/.tags* | ||
**/ios/**/.vagrant/ | ||
**/ios/**/DerivedData/ | ||
**/ios/**/Icon? | ||
**/ios/**/Pods/ | ||
**/ios/**/.symlinks/ | ||
**/ios/**/profile | ||
**/ios/**/xcuserdata | ||
**/ios/.generated/ | ||
**/ios/Flutter/App.framework | ||
**/ios/Flutter/Flutter.framework | ||
**/ios/Flutter/Generated.xcconfig | ||
**/ios/Flutter/app.flx | ||
**/ios/Flutter/app.zip | ||
**/ios/Flutter/flutter_assets/ | ||
**/ios/Flutter/flutter_export_environment.sh | ||
**/ios/ServiceDefinitions.json | ||
**/ios/Runner/GeneratedPluginRegistrant.* | ||
|
||
# Exceptions to above rules. | ||
!**/ios/**/default.mode1v3 | ||
!**/ios/**/default.mode2v3 | ||
!**/ios/**/default.pbxuser | ||
!**/ios/**/default.perspectivev3 | ||
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages | ||
|
||
# Additional packages | ||
packages/**/pubspec.lock |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
packages/native_pdf_renderer/ios/Classes/NativePDFRendererPlugin.h
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,4 +1,4 @@ | ||
#import <Flutter/Flutter.h> | ||
|
||
@interface NativePDFRendererPlugin : NSObject<FlutterPlugin> | ||
@interface NativePDFRendererPlugin : NSObject <FlutterPlugin> | ||
@end |
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,57 @@ | ||
# Generated by pub | ||
# See https://dart.dev/tools/pub/glossary#lockfile | ||
packages: | ||
collection: | ||
dependency: transitive | ||
description: | ||
name: collection | ||
url: "https://pub.dartlang.org" | ||
source: hosted | ||
version: "1.14.11" | ||
extension: | ||
dependency: "direct main" | ||
description: | ||
name: extension | ||
url: "https://pub.dartlang.org" | ||
source: hosted | ||
version: "0.0.5" | ||
flutter: | ||
dependency: "direct main" | ||
description: flutter | ||
source: sdk | ||
version: "0.0.0" | ||
meta: | ||
dependency: "direct main" | ||
description: | ||
name: meta | ||
url: "https://pub.dartlang.org" | ||
source: hosted | ||
version: "1.1.7" | ||
pedantic: | ||
dependency: "direct dev" | ||
description: | ||
name: pedantic | ||
url: "https://pub.dartlang.org" | ||
source: hosted | ||
version: "1.5.0" | ||
sky_engine: | ||
dependency: transitive | ||
description: flutter | ||
source: sdk | ||
version: "0.0.99" | ||
typed_data: | ||
dependency: transitive | ||
description: | ||
name: typed_data | ||
url: "https://pub.dartlang.org" | ||
source: hosted | ||
version: "1.1.6" | ||
vector_math: | ||
dependency: transitive | ||
description: | ||
name: vector_math | ||
url: "https://pub.dartlang.org" | ||
source: hosted | ||
version: "2.0.8" | ||
sdks: | ||
dart: ">=2.2.2 <3.0.0" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.