ecb 0.0.43 → 0.0.44
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.
- data/lib/commands/xcode_build.rb +5 -0
- data/lib/info.rb +1 -1
- metadata +2 -2
data/lib/commands/xcode_build.rb
CHANGED
|
@@ -113,6 +113,8 @@ module Commands
|
|
|
113
113
|
EcbSharedLib::CL.do_cmd(cmd, '.')
|
|
114
114
|
cmd = " ditto -c -k --norsrc #{deliverablesPath}/#{export_name} #{deliverablesPath}/#{export_name}.ipa"
|
|
115
115
|
EcbSharedLib::CL.do_cmd(cmd, '.')
|
|
116
|
+
cmd = " rm -Rf #{deliverablesPath}/#{export_name}.zip"
|
|
117
|
+
EcbSharedLib::CL.do_cmd(cmd, '.')
|
|
116
118
|
end
|
|
117
119
|
|
|
118
120
|
|
|
@@ -144,6 +146,9 @@ module Commands
|
|
|
144
146
|
cmd = "rm -Rf #{deliverablesPath}"
|
|
145
147
|
EcbSharedLib::CL.do_cmd(cmd, '.')
|
|
146
148
|
|
|
149
|
+
cmd = "rm -Rf ~/Library/Developer/Xcode/DerivedData/"
|
|
150
|
+
EcbSharedLib::CL.do_cmd(cmd, '.')
|
|
151
|
+
|
|
147
152
|
xcode_version = info[:xcode_version].nil? ? "" : info[:xcode_version]
|
|
148
153
|
unless File.exists?("/Applications/Xcode#{xcode_version}.app")
|
|
149
154
|
cmd = "sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer"
|
data/lib/info.rb
CHANGED