lib/choctop/appcast.rb in choctop-0.12.1 vs lib/choctop/appcast.rb in choctop-0.13.0
- old
+ new
@@ -1,9 +1,9 @@
module ChocTop
module Appcast
def make_build
- if skip_build
+ if skip_xcode_build
puts "Skipping build task..."
else
sh "xcodebuild -configuration #{build_type} -target #{build_target} #{build_opts}"
end
end
@@ -54,12 +54,11 @@
File.open("#{build_path}/index.php", 'w') do |f|
f << %Q{<?php header("Location: #{pkg_relative_url}"); ?>}
end
end
- def skip_build
+ def skip_xcode_build
return true if ENV['NO_BUILD']
- return false if File.exists?('Info.plist')
return false if Dir['*.xcodeproj'].size > 0
true
end
def make_release_notes
\ No newline at end of file