fastlane-plugin-flutter 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71b75b4acebe52bb46d4b6a1bef25fce042dc93c
|
|
4
|
+
data.tar.gz: e75c011fe43192ba4bc99a82da5a1fcd262f96bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 674121b5b3ed1046086c06382f565546b121ff3fc5b9175114eede689ed069ce62a98a656a484ad156846f1f1dd25b0dd7d91fe6b68df3e2362e0f737312b14b
|
|
7
|
+
data.tar.gz: 2dd5e57c2804f935133373ee5e35680c83326c1964815232c3600cac0de79d6c5fb034572d77b6bd632d7d75a14dc52de70ca017b4d7d4b5a8c8ad0dc6c63de6
|
data/README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# flutter plugin
|
|
2
2
|
|
|
3
|
+
[](https://circleci.com/gh/dotdoom/fastlane-plugin-flutter)
|
|
3
4
|
[](https://rubygems.org/gems/fastlane-plugin-flutter)
|
|
4
5
|
|
|
5
6
|
## Getting Started
|
|
@@ -23,7 +23,10 @@ module Fastlane
|
|
|
23
23
|
UI.message("Upgrading Flutter SDK in #{flutter_sdk_root}...")
|
|
24
24
|
if flutter_channel
|
|
25
25
|
UI.message("Making sure Flutter is on channel #{flutter_channel}")
|
|
26
|
-
Helper::FlutterHelper.flutter(
|
|
26
|
+
Helper::FlutterHelper.flutter(
|
|
27
|
+
'channel', flutter_channel,
|
|
28
|
+
log: false
|
|
29
|
+
)
|
|
27
30
|
end
|
|
28
31
|
Helper::FlutterHelper.flutter('upgrade', log: false)
|
|
29
32
|
else
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
require 'shellwords'
|
|
1
2
|
require 'yaml'
|
|
2
3
|
|
|
3
4
|
module Fastlane
|
|
@@ -10,10 +11,14 @@ module Fastlane
|
|
|
10
11
|
# output is lost (even in case of error). Perhaps we
|
|
11
12
|
# could print the output here, via error_callback?
|
|
12
13
|
# https://github.com/fastlane/fastlane/blob/b1495d134eec6681c8d7a544aa3520f1da00c80e/fastlane/lib/fastlane/helper/sh_helper.rb#L73
|
|
14
|
+
# Workaround for Fastlane not printing output if block is not given.
|
|
15
|
+
block ||= proc {}
|
|
13
16
|
Actions.sh(File.join(flutter_sdk_root, 'bin', 'flutter'), *argv, &block)
|
|
14
17
|
end
|
|
15
18
|
|
|
16
19
|
def self.git(*argv, &block)
|
|
20
|
+
# Workaround for Fastlane not printing output if block is not given.
|
|
21
|
+
block ||= proc {}
|
|
17
22
|
Actions.sh('git', *argv, &block)
|
|
18
23
|
end
|
|
19
24
|
|