xcodebuilder 0.0.21 → 0.0.22

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
  SHA1:
3
- metadata.gz: 396243eff6a0478108bf8e46ad0c7841ac468435
4
- data.tar.gz: 970f91c30b595a230b6e56c34c0127fd4cb60d52
3
+ metadata.gz: c571b530718265c2a4eb192f64a6d0f898a5031b
4
+ data.tar.gz: 636e38ddb81c9657531a105632d0f7fc3d6d45ba
5
5
  SHA512:
6
- metadata.gz: 7f0044f0bcb5fa43021a55702c6b448791bf153ed426db24b62caccd329a51093d967f44baed15fee276775ea7a931a130cea94c579c7fc1606287d8152ea2d8
7
- data.tar.gz: b2b251b8fb1fee6002779434e61a943067ea52f87229e6c19f6a46432547a9d144014e08b74b0dd7d0cbf9947f7574af7ed9140b72ac5fbb2f0906ec4c71f1cf
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 **" if BuildOutputParser.new(File.read("build.output")).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 %s build.output" % (@configuration.verbose ? '| tee' : '>')
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 %s ../build.output" % (@configuration.verbose ? '| tee' : '>')
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 %s ../build.output" % (@configuration.verbose ? '| tee' : '>')
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcodebuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Larivain