fastlane-plugin-flutter 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/flutter/actions/flutter_bootstrap_action.rb +12 -2
- data/lib/fastlane/plugin/flutter/actions/flutter_build_action.rb +4 -0
- data/lib/fastlane/plugin/flutter/actions/flutter_generate_action.rb +3 -4
- data/lib/fastlane/plugin/flutter/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8218973005eea440047e5cee9dfbeba1f6646cda
|
4
|
+
data.tar.gz: 4f97597a00ccb11a8e06cbb21cb168932984d987
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d17d251d30d1231762cd54d3f056544939a450f028c1ca9771f4a9cef16f780b804a2bf7c24a4c452978f6625c138c3cd5f6f4186d347db27f34e81951c08c3c
|
7
|
+
data.tar.gz: 24a6445e48fe4e1b7e00ed2a2ade067ad30e6a58179b1c055bdb780a5200a1a4f67df606cb23bf2ef4154de27ed230f43943d52fd9326211028d6a0dbf3cb0cd
|
@@ -20,12 +20,14 @@ module Fastlane
|
|
20
20
|
flutter_sdk_root = Helper::FlutterHelper.flutter_sdk_root
|
21
21
|
flutter_channel = params[:flutter_channel]
|
22
22
|
if File.directory?(flutter_sdk_root)
|
23
|
-
UI.message("Upgrading Flutter SDK in #{flutter_sdk_root}...")
|
24
23
|
if flutter_channel
|
25
24
|
UI.message("Making sure Flutter is on channel #{flutter_channel}")
|
26
25
|
Helper::FlutterHelper.flutter('channel', flutter_channel) {}
|
27
26
|
end
|
28
|
-
|
27
|
+
if params[:flutter_auto_upgrade]
|
28
|
+
UI.message("Upgrading Flutter SDK in #{flutter_sdk_root}...")
|
29
|
+
Helper::FlutterHelper.flutter('upgrade') {}
|
30
|
+
end
|
29
31
|
else
|
30
32
|
Helper::FlutterHelper.git(
|
31
33
|
'clone', # no --depth to keep Flutter tag-based versioning.
|
@@ -63,6 +65,14 @@ module Fastlane
|
|
63
65
|
optional: true,
|
64
66
|
type: String,
|
65
67
|
),
|
68
|
+
FastlaneCore::ConfigItem.new(
|
69
|
+
key: :flutter_auto_upgrade,
|
70
|
+
env_name: 'FL_FLUTTER_AUTO_UPGRADE',
|
71
|
+
description: 'Automatically upgrade Flutter when already installed',
|
72
|
+
default_value: true,
|
73
|
+
optional: true,
|
74
|
+
is_string: false, # official replacement for "type: Boolean"
|
75
|
+
),
|
66
76
|
FastlaneCore::ConfigItem.new(
|
67
77
|
key: :android_licenses,
|
68
78
|
description: 'Map of file names to hash values of accepted ' \
|
@@ -33,10 +33,9 @@ module Fastlane
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def self.description
|
36
|
-
|
37
|
-
|
38
|
-
'matching ${strings_file.dirname}/intl_*.arb, fix them and generate '
|
39
|
-
'.dart files from them'
|
36
|
+
# Not splitting the line because of documentation generator bug:
|
37
|
+
# https://github.com/fastlane/fastlane/issues/15199
|
38
|
+
'According to package:intl, take $strings_file and generate ${strings_file.dirname}/arb/intl_messages.arb, then take all files matching ${strings_file.dirname}/intl_*.arb, fix them and generate .dart files from them'
|
40
39
|
end
|
41
40
|
|
42
41
|
def self.available_options
|