fastlane-plugin-flutter 0.3.11 → 0.3.12
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: b37b84a4b30354db42f955f7e60f90e8422828b6
|
|
4
|
+
data.tar.gz: 03caefa054bd0575391f10f4c423e60a585cd2d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca8701c62a29b3c86c45dab541082bbf672b42758cee5c1002f37a3237b2911081cfc6ed8a54a3a2036cf2afb4394f148d02f33257a538c532da7b7dcc555351
|
|
7
|
+
data.tar.gz: 8d658c541d6cb5d89074ad8eb245ba44ce27166c97e4929126f107f86efd93924c2893e7911bca6ab9c19bd6924db57745025b8776fa615d72272e9ca4a86be9
|
data/README.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
# flutter plugin
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/fastlane-plugin-flutter)
|
|
4
|
-
[](https://github.com/dotdoom/fastlane-plugin-flutter/actions?workflow=end-to-end+test)
|
|
5
4
|
[](https://rubygems.org/gems/fastlane-plugin-flutter)
|
|
5
|
+
[](https://github.com/dotdoom/fastlane-plugin-flutter/actions?query=workflow%3A"end-to-end+test"+branch%3Amaster)
|
|
6
|
+
|
|
7
|
+
Automated end-to-end test (download Flutter, create an app, build it) on the
|
|
8
|
+
following platforms:
|
|
9
|
+
|
|
10
|
+
* macOS (iOS)
|
|
11
|
+
* macOS (Android)
|
|
12
|
+
* Ubuntu Linux (Android)
|
|
13
|
+
* Windows (Android)
|
|
6
14
|
|
|
7
15
|
## Getting Started
|
|
8
16
|
|
|
@@ -32,14 +32,12 @@ module Fastlane
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
process_deprecated_params(params, build_args)
|
|
36
|
+
|
|
35
37
|
if params[:debug]
|
|
36
38
|
build_args.push('--debug')
|
|
37
39
|
end
|
|
38
40
|
|
|
39
|
-
if params[:codesign] == false
|
|
40
|
-
build_args.push('--no-codesign')
|
|
41
|
-
end
|
|
42
|
-
|
|
43
41
|
if build_number = (params[:build_number] ||
|
|
44
42
|
lane_context[SharedValues::BUILD_NUMBER])
|
|
45
43
|
build_args.push('--build-number', build_number.to_s)
|
|
@@ -72,6 +70,24 @@ module Fastlane
|
|
|
72
70
|
lane_context[SharedValues::FLUTTER_OUTPUT]
|
|
73
71
|
end
|
|
74
72
|
|
|
73
|
+
def self.process_deprecated_params(params, build_args)
|
|
74
|
+
unless params[:codesign].nil?
|
|
75
|
+
UI.deprecated(<<-"MESSAGE")
|
|
76
|
+
flutter_build parameter "codesign" is deprecated. Use
|
|
77
|
+
|
|
78
|
+
flutter_build(
|
|
79
|
+
build_args: ["--#{params[:codesign] == false ? 'no-' : ''}codesign"]
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
form instead.
|
|
83
|
+
MESSAGE
|
|
84
|
+
|
|
85
|
+
if params[:codesign] == false
|
|
86
|
+
build_args.push('--no-codesign')
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
75
91
|
def self.description
|
|
76
92
|
'Run "flutter build" to build a Flutter application'
|
|
77
93
|
end
|
|
@@ -33,9 +33,11 @@ module Fastlane
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def self.description
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
"1. Run `build_runner build` if build_runner is in dev_dependencies\n" \
|
|
37
|
+
"2. According to `package:intl`, take `$strings_file` and generate " \
|
|
38
|
+
"`${strings_file.dirname}/arb/intl_messages.arb`, then take all " \
|
|
39
|
+
"files matching `${strings_file.dirname}/intl_*.arb`, fix them and " \
|
|
40
|
+
"generate .dart files from them"
|
|
39
41
|
end
|
|
40
42
|
|
|
41
43
|
def self.available_options
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-flutter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Artem Sheremet
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|