From 62f109bd5a0383f04bd3874100ce38d0a5257b00 Mon Sep 17 00:00:00 2001 From: CaramelDunes Date: Mon, 28 Sep 2020 17:44:37 -0400 Subject: [PATCH] Cirrus setup (#1) * Add Cirrus CI configuration file. * Add http dependency. * Use RaisedButton instead of ElevatedButton for now. --- .cirrus.yml | 14 +++++++++++ lib/map/map_screen.dart | 2 +- pubspec.lock | 51 ++++++++++++++++++----------------------- pubspec.yaml | 5 +--- 4 files changed, 38 insertions(+), 34 deletions(-) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..718f3eb --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,14 @@ +container: + image: cirrusci/flutter:latest + +android_build_task: + pub_cache: + folder: ~/.pub-cache + oaci_vfr_cache: + folder: assets/offline_layers/oaci_vfr + build_script: + - pub get + - dart bin/download_oaci_vfr.dart + - flutter build apk + apk_artifacts: + path: "build/app/outputs/apk/release/app-release.apk" \ No newline at end of file diff --git a/lib/map/map_screen.dart b/lib/map/map_screen.dart index 8352ef0..9b0a321 100644 --- a/lib/map/map_screen.dart +++ b/lib/map/map_screen.dart @@ -113,7 +113,7 @@ class _MapScreenState extends State { }, ), SizedBox(height: 8), - ElevatedButton( + RaisedButton( child: Text('Submit'), onPressed: () { print(double.parse(val)); diff --git a/pubspec.lock b/pubspec.lock index 41c381d..a4ca0e5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -28,14 +28,14 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety" + version: "2.5.0-nullsafety.1" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety" + version: "2.1.0-nullsafety.1" cached_network_image: dependency: "direct main" description: @@ -49,28 +49,28 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.2" + version: "1.1.0-nullsafety.3" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety" + version: "1.2.0-nullsafety.1" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety" + version: "1.1.0-nullsafety.1" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.2" + version: "1.15.0-nullsafety.3" console_log_handler: dependency: transitive description: @@ -92,13 +92,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.5" - cupertino_icons: - dependency: "direct main" - description: - name: cupertino_icons - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.3" enviro_sensors: dependency: "direct main" description: @@ -112,7 +105,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety" + version: "1.2.0-nullsafety.1" ffi: dependency: transitive description: @@ -201,7 +194,7 @@ packages: source: hosted version: "1.0.4" http: - dependency: transitive + dependency: "direct main" description: name: http url: "https://pub.dartlang.org" @@ -255,14 +248,14 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety" + version: "0.12.10-nullsafety.1" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.2" + version: "1.3.0-nullsafety.3" mgrs_dart: dependency: transitive description: @@ -283,14 +276,14 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety" + version: "1.8.0-nullsafety.1" path_provider: dependency: "direct main" description: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "1.6.16" + version: "1.6.18" path_provider_linux: dependency: transitive description: @@ -318,7 +311,7 @@ packages: name: path_provider_windows url: "https://pub.dartlang.org" source: hosted - version: "0.0.4" + version: "0.0.4+1" pedantic: dependency: transitive description: @@ -393,7 +386,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.1" + version: "1.8.0-nullsafety.2" sqflite: dependency: transitive description: @@ -414,21 +407,21 @@ packages: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety" + version: "1.10.0-nullsafety.1" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety" + version: "2.1.0-nullsafety.1" string_scanner: dependency: transitive description: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety" + version: "1.1.0-nullsafety.1" synchronized: dependency: transitive description: @@ -442,14 +435,14 @@ packages: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety" + version: "1.2.0-nullsafety.1" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety" + version: "0.2.19-nullsafety.2" transparent_image: dependency: transitive description: @@ -470,7 +463,7 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.2" + version: "1.3.0-nullsafety.3" unicode: dependency: transitive description: @@ -498,7 +491,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.2" + version: "2.1.0-nullsafety.3" wakelock: dependency: "direct main" description: @@ -542,5 +535,5 @@ packages: source: hosted version: "2.2.1" sdks: - dart: ">=2.10.0-137.0 <2.10.0" + dart: ">=2.10.0-110 <=2.11.0-161.0.dev" flutter: ">=1.20.0 <2.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index a0b1bfc..37d5074 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,12 +17,9 @@ dependencies: font_awesome_flutter: ^8.8.1 path_provider: ^1.6.11 wakelock: ^0.1.4+2 - - cupertino_icons: ^0.1.3 - flutter_foreground_plugin: ^0.5.0 - cached_network_image: ^2.3.1 + http: ^0.12.2 dev_dependencies: flutter_test: