cocoapods-packager-ext 0.0.32 → 0.0.33
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 666bf99ad7bef68dce559b4102ba7eba97699de43128cad3283feb706ee0b165
|
4
|
+
data.tar.gz: 4cdd6ef5bb2f576c038b13a320f288b7e11a08052267c50685d0b06ae9240315
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ac87c3210c7d6af667263b113ca9d74d09e2a929131906ddb7851921016f72a5b4de76a022a420fd544dfe1842a936ebfc1dd7146ab10d173fb08484bb67893
|
7
|
+
data.tar.gz: 57a875b65878a040c97f8042d1703d01db2ae50dc8cbf7a62066d173b8bc8f43fe63c6f92b9ec4e856791e6030c8e67b0b014de9a189e91497670b3177d84d48
|
@@ -123,6 +123,22 @@ RB
|
|
123
123
|
|
124
124
|
end
|
125
125
|
|
126
|
+
def clean_dummy_files(path)
|
127
|
+
Dir.entries(path).each do |sub|
|
128
|
+
if sub != '.' && sub != '..'
|
129
|
+
if File.directory?("#{path}/#{sub}")
|
130
|
+
clean_dummy_files("#{path}/#{sub}")
|
131
|
+
else
|
132
|
+
if(sub =~ /-dummy.m$/)
|
133
|
+
File.open("#{path}/#{sub}",'w')do |file|
|
134
|
+
file.write('')
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
126
142
|
alias perform_build_t perform_build
|
127
143
|
def perform_build(platform, static_sandbox, dynamic_sandbox,static_installer)
|
128
144
|
if @select_archs.length > 0 || @exclude_dep_items.length > 0
|
@@ -133,6 +149,13 @@ RB
|
|
133
149
|
dynamic_sandbox_root = "#{config.sandbox_root}/#{dynamic_sandbox.root.to_s.split('/').last}"
|
134
150
|
end
|
135
151
|
|
152
|
+
if (ENV['ENABLE_CLEAN_DUMMY_FILE'] && (ENV['ENABLE_CLEAN_DUMMY_FILE'].upcase == 'YES' || ENV['ENABLE_CLEAN_DUMMY_FILE'].upcase == 'TRUE'))
|
153
|
+
clean_dummy_files(static_sandbox.target_support_files_root)
|
154
|
+
if @dynamic
|
155
|
+
clean_dummy_files(dynamic_sandbox.target_support_files_root)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
136
159
|
builder = Pod::Builder.new(
|
137
160
|
platform,
|
138
161
|
static_installer,
|