fastlane-plugin-zhuixi_build_app 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 741fd50a83049a545648cd95f29f1fd6ca8838d0d749b4c46154d9b31a503352
|
4
|
+
data.tar.gz: a72442b5b68c4c35c940b2045bd157c2047663df7584ecde06b7eaa23ddc5ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44b3d69fe29b371277acb27164a9ad64e243b0db0dcdaf8f11d3577bc531a936fe008a5770b2c8bf1907a7252dbe3a181e481e46658eaab6e21b2e3b71d37489
|
7
|
+
data.tar.gz: e007ce8cc0f2ef9f14b8a295798d6c86ce9df9decb105c2089e9bea17860cf4f289c578532576787e482b551d71538ace6710b5a1338219560ed166032465f81
|
@@ -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
|
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.
|
4
|
+
version: 0.1.1
|
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/
|
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
|