xcodebuilder 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcode_builder.rb +6 -7
- data/lib/xcode_builder/configuration.rb +0 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c571b530718265c2a4eb192f64a6d0f898a5031b
|
4
|
+
data.tar.gz: 636e38ddb81c9657531a105632d0f7fc3d6d45ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 926ef635e80578362e7fb36ec9d901b51faf2897a7f328296e5977e8bb231296f6dd5bfd9d99d0a7f505dee34c4a838ce4948286496d05231b295545f9b1c1a4
|
7
|
+
data.tar.gz: 3cb698786d24fe3f18fef22257d5673f8ce55969c3fcc2240924aed22887b57f933279dca8f24418dbc118b750ed5786a172a50bf97e98af773a9049cc19393b
|
data/lib/xcode_builder.rb
CHANGED
@@ -69,8 +69,8 @@ module XcodeBuilder
|
|
69
69
|
clean unless @configuration.skip_clean
|
70
70
|
|
71
71
|
print "Building Project..."
|
72
|
-
xcodebuild @configuration.build_arguments, "build"
|
73
|
-
raise "** BUILD FAILED **"
|
72
|
+
success = xcodebuild @configuration.build_arguments, "build"
|
73
|
+
raise "** BUILD FAILED **" unless success
|
74
74
|
puts "Done"
|
75
75
|
end
|
76
76
|
|
@@ -123,7 +123,7 @@ module XcodeBuilder
|
|
123
123
|
cmd << @configuration.xcrun_extra_args if @configuration.xcrun_extra_args.is_a? String
|
124
124
|
end
|
125
125
|
puts "Running #{cmd.join(" ")}" if @configuration.verbose
|
126
|
-
cmd << "2>&1
|
126
|
+
cmd << "2>&1 /dev/null"
|
127
127
|
cmd = cmd.join(" ")
|
128
128
|
system(cmd)
|
129
129
|
|
@@ -175,7 +175,7 @@ module XcodeBuilder
|
|
175
175
|
cmd << "\"#{@configuration.app_name}.#{@configuration.app_extension}.dSYM\""
|
176
176
|
|
177
177
|
puts "Running #{cmd.join(" ")}" if @configuration.verbose
|
178
|
-
cmd << "2>&1
|
178
|
+
cmd << "2>&1 /dev/null"
|
179
179
|
cmd = cmd.join(" ")
|
180
180
|
system(cmd)
|
181
181
|
|
@@ -200,7 +200,7 @@ module XcodeBuilder
|
|
200
200
|
cmd << "\"#{@configuration.dsym_name}\"" unless @configuration.skip_dsym
|
201
201
|
cmd << "\"#{@configuration.ipa_name}\"" unless !@configuration.sdk.eql? "iphoneos"
|
202
202
|
cmd << "\"#{@configuration.app_name}.#{@configuration.app_extension}\"" unless !@configuration.sdk.eql? "macosx"
|
203
|
-
cmd << "2>&1
|
203
|
+
cmd << "2>&1 /dev/null"
|
204
204
|
|
205
205
|
system cmd.join " "
|
206
206
|
|
@@ -248,8 +248,7 @@ module XcodeBuilder
|
|
248
248
|
|
249
249
|
def push_pod
|
250
250
|
cmd = []
|
251
|
-
cmd << "pod"
|
252
|
-
cmd << "push"
|
251
|
+
cmd << "pod repo push"
|
253
252
|
cmd << @configuration.pod_repo
|
254
253
|
cmd << @configuration.podspec_file
|
255
254
|
cmd << "--allow-warnings"
|
@@ -181,12 +181,6 @@ module XcodeBuilder
|
|
181
181
|
return "#{dir}/Build/Products" if File.read( File.join(dir, "info.plist") ).match workspace_file_path
|
182
182
|
end
|
183
183
|
end
|
184
|
-
|
185
|
-
|
186
|
-
def derived_build_dir_from_build_output
|
187
|
-
output = BuildOutputParser.new(File.read("build.output"))
|
188
|
-
output.build_output_dir
|
189
|
-
end
|
190
184
|
|
191
185
|
def zipped_package_name
|
192
186
|
"#{app_name}#{built_app_long_version_suffix}.zip"
|