bytedance 0.1.23 → 0.1.24
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 +4 -4
- data/lib/bytedance/version.rb +1 -1
- data/lib/command/file_help.rb +39 -0
- data/lib/command/lib/publish.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 510bf326fcaab603d7381a14a84d0ced7b60b118
|
4
|
+
data.tar.gz: 3a993b0adccb2caed7b7419ae7cb22207f2af28d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e3ff89a6deea178f9c123cd0353d099b1af04aea3dcb9cfa8a0fba19a6dc45911eae4dcd6185623b4ded0c1d4f983148afdf909693e84beece5014520e32df7
|
7
|
+
data.tar.gz: 0732403fab638b4c79924dd64cedd40a9926f1b1e79f4a240e771ddf5debf6a788c8203697d970f5253983b42ca4f73995016cbb46ec097b9ae12d2ee4e7ebf0
|
data/lib/bytedance/version.rb
CHANGED
data/lib/command/file_help.rb
CHANGED
@@ -0,0 +1,39 @@
|
|
1
|
+
module Bytedance
|
2
|
+
class FastlaneHelper
|
3
|
+
|
4
|
+
def initialize()
|
5
|
+
load_require
|
6
|
+
@runner = Fastlane::Runner.new
|
7
|
+
end
|
8
|
+
|
9
|
+
def load_require
|
10
|
+
Dir[File.expand_path('*.rb', File.dirname(FileHelper.fastlane_action_path))].each do |file|
|
11
|
+
require file
|
12
|
+
end
|
13
|
+
Dir[File.expand_path('*.rb', File.dirname(FileHelper.fastlane_helper_path))].each do |file|
|
14
|
+
require file
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def execute_fastlane_action(action_name)
|
19
|
+
@runner.execute_action(action_name,@runner.class_reference_from_action_name(action_name),[],custom_dir:".")
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
class FileHelper
|
25
|
+
|
26
|
+
def self.fastlane_base_path
|
27
|
+
File.dirname(`gem which fastlane`)
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.fastlane_action_path
|
31
|
+
FileHelper.fastlane_base_path + "/fastlane/actions/."
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.fastlane_helper_path
|
35
|
+
FileHelper.fastlane_base_path + "/fastlane/helper/."
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
data/lib/command/lib/publish.rb
CHANGED