ecb 0.0.43 → 0.0.44
Sign up to get free protection for your applications and to get access to all the features.
- 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