fastlane-plugin-zhuixi_build_app 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8882f63c72a692604cc258ec4182f34deccfb3d7bfcddd961efcad41d6f92fd
4
- data.tar.gz: 5803653bebbf4951095c2d60f64d1e7ceb0323dce53f952d4bb5299e46b2b813
3
+ metadata.gz: 38956b2dd0fad0ed2d0bbb1bfefa736bea90a1e4a725873d0a138717c107581e
4
+ data.tar.gz: d5ccfcbd1b7b966e5e201e2818b9687f3985654c5e5f63d5b613f635d28bf61b
5
5
  SHA512:
6
- metadata.gz: 1a5945cbe9a2cc5a9a8f06634091484fb2e647687d83eea67587054ab946bcf3498b9cd5e03c0c805f5a6c843d0d7de0144ffba9a799feeef794d28933d4276f
7
- data.tar.gz: 0dc1611761aed1bc52ccbaf37064fa5967ca88dc51c0e68ecf0995735daed8f7fb53c9ec7732ce70992395376ad014be7f1ea8b4f5b304987f1d39cfa3531cca
6
+ metadata.gz: 7c4fbdc4c2758e8ceae66d4a3466dbf721eb6b7874a7fc5dd43d1acb2b9739d19949c4c3911245a37f64ea572c448fbf06419ab8b0ecdde798bceebef8291521
7
+ data.tar.gz: e07d35e737956cb8b6eb5f07ffa133240cd78fcfeb35f59c515aaef2280386442561a8f6df9dc4952fd02a7663dde6cee5e9f26c3e9317ebf5845868138a0ad3
@@ -0,0 +1,19 @@
1
+ module Fastlane
2
+ module Actions
3
+ class ReadConfigAction < Action
4
+ def self.run(params)
5
+ # 读取配置文件
6
+ app_file_path = params[:app_file_path]
7
+ app_file = File.open(app_file_path).read
8
+ app_file_config = eval(app_file)
9
+ # game_id = app_file_config[:game_id]
10
+ account = app_file_config[:account]
11
+ password = app_file_config[:password]
12
+ @selectGameName = app_file_config[:selectGameName]
13
+ @selectPlatformName = app_file_config[:platform]
14
+ @ori_xcodeproj_path = app_file_config[:ori_xcodeproj_path]
15
+ UI.message("读取配置成功!")
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module ZhuixiBuildApp
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-zhuixi_build_app
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
  - RedSevenMale
@@ -159,7 +159,7 @@ files:
159
159
  - LICENSE
160
160
  - README.md
161
161
  - lib/fastlane/plugin/zhuixi_build_app.rb
162
- - lib/fastlane/plugin/zhuixi_build_app/actions/zhuixi_build_app_action.rb
162
+ - lib/fastlane/plugin/zhuixi_build_app/actions/read_config_action.rb
163
163
  - lib/fastlane/plugin/zhuixi_build_app/helper/zhuixi_build_app_helper.rb
164
164
  - lib/fastlane/plugin/zhuixi_build_app/version.rb
165
165
  homepage: https://github.com/RedSevenMale/fastlane-plugin-zhuixi_build_app
@@ -1,47 +0,0 @@
1
- require "fastlane/action"
2
- require_relative "../helper/zhuixi_build_app_helper"
3
-
4
- module Fastlane
5
- module Actions
6
- class ZhuixiBuildAppAction < Action
7
- def self.run(params)
8
- UI.message("The zhuixi_build_app plugin is working!")
9
- end
10
-
11
- def self.description
12
- "build ios app from different channel"
13
- end
14
-
15
- def self.authors
16
- ["RedSevenMale"]
17
- end
18
-
19
- def self.return_value
20
- # If your method provides a return value, you can describe here what it does
21
- end
22
-
23
- def self.details
24
- # Optional:
25
- "build ios app from different channel"
26
- end
27
-
28
- def self.available_options
29
- [
30
- # FastlaneCore::ConfigItem.new(key: :your_option,
31
- # env_name: "ZHUIXI_BUILD_APP_YOUR_OPTION",
32
- # description: "A description of your option",
33
- # optional: false,
34
- # type: String)
35
- ]
36
- end
37
-
38
- def self.is_supported?(platform)
39
- # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
40
- # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
41
- #
42
- # [:ios, :mac, :android].include?(platform)
43
- true
44
- end
45
- end
46
- end
47
- end