fastlane-plugin-flutter_ios_integrate 0.1.0 → 0.1.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
  SHA256:
3
- metadata.gz: 51ad4f273feffc7fa9a5ff3f2f15334cdbc7140fe5c667bcd32ad257ccc40147
4
- data.tar.gz: ab45d555efbb7224c2cf65013a7e36108e829def39f725bc9d3c83e07290fbbb
3
+ metadata.gz: 586da22ece52689df58e1eac02cda4ce3a08da040319d6a9fb859b4dd2e76f56
4
+ data.tar.gz: 142a4ca188e4ec17a954b9a9d44812eed708c59825d0798d5607b8bef70e6d1b
5
5
  SHA512:
6
- metadata.gz: c541500340055dabb06052f1dc9b9d2a9bd0419303e19d7e77c314800e2b50939231ab5c8ca53e1f67f8848bf98b4ddc1f74d5c6eca20eeb3733dfb2af66f087
7
- data.tar.gz: 7cf7dfca815bea06b0eea19e46d030f8f81afc914698d48be9142799bda1c3e756c4b1a7618fe097639b34739877db8bc64bc1ad9c4e6b23fd6cdf9cbb764dae
6
+ metadata.gz: 4d2b75f1d235f89b51256270f4dc3031a6e0a7c70167aa8abdc7b1c11d8fcd9d7cc522a11d947f1284c70616397605cf2d8fe63b1d54d096ac8ec16c953fab18
7
+ data.tar.gz: e2fbdf688a0c8ddcba0a0355c1d19a79901e4151900edc14b67a84b6a8dfdffbded7974892d57d23804e1ef3558e8d228b7814ce1ddbaf99603b8981cf50eb84
@@ -12,12 +12,20 @@ module Fastlane
12
12
 
13
13
  UI.message(" ===== Flutter 构建开始 ===== ")
14
14
 
15
- # Flutter 编译命令
16
- flutter_build_command = "cd " + param_flutter_path + ";flutter build ios-framework"
15
+ # 进入 submodule 目录
16
+ Action.sh("cd " + param_flutter_path)
17
17
 
18
- # 更新 Flutter 相关的 submodule
18
+ # 清空未提交的内容
19
+ Action.sh("git reset --hard")
20
+
21
+ # 初始化 submodule
19
22
  other_action.git_submodule_update(recursive: true, init: true)
20
- flutter_build_result = Actions.sh(flutter_build_command)
23
+
24
+ # 从远端更新 submodule
25
+ Action.sh("git submodule update --remote")
26
+
27
+ # Pub Get
28
+ flutter_build_result = Action.sh("flutter pub get")
21
29
  UI.message "#{flutter_build_result}"
22
30
 
23
31
  # Debug 打包时替换 Flutter build 模式命令
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FlutterIosIntegrate
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-flutter_ios_integrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-05 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.3.26
184
+ rubygems_version: 3.4.2
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: Fastlane plugin to integrate flutter to existing iOS project