cocoapods-modularization 0.4.0 → 0.5.0
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: 56537d38322e4052df931fb49411ae622d97a11739ef53edc414bfc08e6f55c1
|
4
|
+
data.tar.gz: 52e5d74e0403f1b67438ff4cd6974f1d266a2204d751ab28b414aa8e3cf0a9dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da8df3c05c0b37d9fcae59445b52a24f53d2bd43f4aff04b096ff3b4260048e1fca9d444362436b35933c611d70cdf12e69d25b9ab412f87b920e8dd77a3ccf8
|
7
|
+
data.tar.gz: 5acc32106f62cce5c781012ebd3e28a49da5ea4776e826e39177c5b07cc69c8a3704ec4a9e131787070b19abbeab98127e66cda22977f06cefcdda7dd0de58c6
|
@@ -5,22 +5,13 @@ module Pod
|
|
5
5
|
class Mod < Command
|
6
6
|
class Template < Mod
|
7
7
|
|
8
|
-
self.summary = 'Fetch build.
|
8
|
+
self.summary = 'Fetch build.sh from remote'
|
9
9
|
|
10
10
|
self.description = <<-DESC
|
11
|
-
Fetch build.
|
11
|
+
Fetch build.sh from remote
|
12
12
|
DESC
|
13
13
|
|
14
|
-
def self.options
|
15
|
-
[
|
16
|
-
['--binary-only', '把framework推送到source和binary,一般用于三方库本地化'],
|
17
|
-
['--framework-only', '把Binary/*framework推送到source和binary,一般用于私有库']
|
18
|
-
].concat(super)
|
19
|
-
end
|
20
|
-
|
21
14
|
def initialize(argv)
|
22
|
-
@binary = argv.flag?('binary-only')
|
23
|
-
@framework = argv.flag?('framework-only')
|
24
15
|
super
|
25
16
|
end
|
26
17
|
|
@@ -29,7 +20,7 @@ module Pod
|
|
29
20
|
end
|
30
21
|
|
31
22
|
def run
|
32
|
-
build_path = "#{Dir.pwd}/build.
|
23
|
+
build_path = "#{Dir.pwd}/build.sh"
|
33
24
|
if File.exist?(build_path)
|
34
25
|
FileUtils.rm_rf(build_path)
|
35
26
|
end
|
@@ -41,13 +32,7 @@ module Pod
|
|
41
32
|
return
|
42
33
|
end
|
43
34
|
|
44
|
-
|
45
|
-
FileUtils.mv("#{Dir.pwd}/.build/Binary/binary_only.rb", "#{Dir.pwd}/build.rb")
|
46
|
-
elsif @framework
|
47
|
-
FileUtils.mv("#{Dir.pwd}/.build/Binary/framework_only.rb", "#{Dir.pwd}/build.rb")
|
48
|
-
else
|
49
|
-
FileUtils.mv("#{Dir.pwd}/.build/build.rb", "#{Dir.pwd}/build.rb")
|
50
|
-
end
|
35
|
+
FileUtils.mv("#{Dir.pwd}/.build/build.sh", "#{Dir.pwd}/build.sh")
|
51
36
|
FileUtils.rm_rf("#{Dir.pwd}/.build")
|
52
37
|
end
|
53
38
|
end
|
@@ -1,3 +1,3 @@
|
|
1
1
|
module CocoapodsModularization
|
2
|
-
VERSION = "0.
|
3
|
-
end
|
2
|
+
VERSION = "0.5.0"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-modularization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|