ecb 0.0.44 → 0.0.45
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 +9 -5
- data/lib/info.rb +1 -1
- metadata +3 -3
data/lib/commands/xcode_build.rb
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
# Copyright 2013, eBay Inc.
|
5
5
|
# All rights reserved.
|
6
6
|
# http://www.ebay.com
|
7
|
+
# Edited: Sangeetha on Apr 29, 2014
|
7
8
|
#
|
8
9
|
module Commands
|
9
10
|
class XcodeBuild
|
@@ -67,7 +68,8 @@ module Commands
|
|
67
68
|
#cmd = "ditto -c -k --norsrc #{build_dir}/tmp/Payload \"#{deliverablesPath}/#{exportName}\""
|
68
69
|
cmd = "ditto -c -k --norsrc #{build_dir}/tmp \"#{deliverablesPath}/#{exportName}\""
|
69
70
|
EcbSharedLib::CL.do_cmd(cmd, '.')
|
70
|
-
cmd = "ditto -c -k --norsrc --keepParent '#{build_dir}/#{target_file}.dSYM' '#{deliverablesPath}/#{sym_file}'";
|
71
|
+
#cmd = "ditto -c -k --norsrc --keepParent '#{build_dir}/#{target_file}.dSYM' '#{deliverablesPath}/#{sym_file}'";
|
72
|
+
cmd = "ditto -c -k --norsrc --keepParent '#{build_dir}/#{target_file}.dSYM' '#{deliverablesPath}/#{archiveName}/dSYMs/#{sym_file}'";
|
71
73
|
EcbSharedLib::CL.do_cmd(cmd, '.')
|
72
74
|
end
|
73
75
|
|
@@ -98,12 +100,14 @@ module Commands
|
|
98
100
|
if EcbSharedLib::CL.do_cmd_result(cmd, '.') != 0
|
99
101
|
raise "Xcode Export Archive failed."
|
100
102
|
end
|
101
|
-
cmd = "ditto -c -k --norsrc #{archiveName} #{archiveName}.zip"
|
102
|
-
EcbSharedLib::CL.do_cmd(cmd, "#{deliverablesPath}")
|
103
103
|
export_name = exportName.split(".").first
|
104
104
|
sym_file = "#{export_name}_dSYM.zip"
|
105
|
-
cmd = "ditto -c -k --norsrc --keepParent '#{build_dir}/#{target_file}.dSYM' '#{deliverablesPath}/#{sym_file}'";
|
105
|
+
cmd = "ditto -c -k --norsrc --keepParent '#{build_dir}/#{target_file}.dSYM' '#{deliverablesPath}/#{archiveName}/dSYMs/#{sym_file}'";
|
106
106
|
EcbSharedLib::CL.do_cmd(cmd, '.')
|
107
|
+
cmd = "ditto -c -k --norsrc #{archiveName} #{archiveName}.zip"
|
108
|
+
EcbSharedLib::CL.do_cmd(cmd, "#{deliverablesPath}")
|
109
|
+
|
110
|
+
#cmd = "ditto -c -k --norsrc --keepParent '#{build_dir}/#{target_file}.dSYM' '#{deliverablesPath}/#{sym_file}'";
|
107
111
|
if (copy_appicon == true and File.exist?("#{itunes_artwork}")) then
|
108
112
|
cmd = "mv #{deliverablesPath}/#{export_name}.ipa #{deliverablesPath}/#{export_name}.zip"
|
109
113
|
EcbSharedLib::CL.do_cmd(cmd, ".")
|
@@ -161,7 +165,7 @@ module Commands
|
|
161
165
|
builds.each do |build|
|
162
166
|
info_plist = info[:info_plist]
|
163
167
|
enterprise_info_plist = info[:enterprise_info_plist]
|
164
|
-
if build[:build_type] == "enterprise" &&
|
168
|
+
if build[:build_type] == "enterprise" &&
|
165
169
|
!info_plist.nil? && !enterprise_info_plist.nil? then
|
166
170
|
cmd = "rm #{info_plist}"
|
167
171
|
EcbSharedLib::CL.do_cmd(cmd, '.')
|
data/lib/info.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 45
|
9
|
+
version: 0.0.45
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Rick Hoiberg
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2014-04-
|
17
|
+
date: 2014-04-29 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|