Remove 'verify perquisites'

Assume gh-setup handles the prerequisites.
This commit is contained in:
Corey Johnson & Nathan Sobo 2012-09-14 10:20:44 -07:00
parent 6aaf1122fc
commit 09b0b22d43

View File

@ -13,7 +13,7 @@ task "create-project" do
end
desc "Build Atom via `xcodebuild`"
task :build => [:"create-project", :"verify-prerequisites"] do
task :build => "create-project" do
command = "xcodebuild -target Atom configuration=Release SYMROOT=#{BUILD_DIR}"
puts command
output = `#{command}`
@ -64,7 +64,7 @@ task :benchmark do
end
desc "Copy files to bundle and compile CoffeeScripts"
task :"copy-files-to-bundle" => :"verify-prerequisites" do
task :"copy-files-to-bundle" do
project_dir = ENV['PROJECT_DIR'] || '.'
built_dir = ENV['BUILT_PRODUCTS_DIR'] || '.'
contents_dir = ENV['CONTENTS_FOLDER_PATH']
@ -95,14 +95,6 @@ task :nof do
system %{find . -name *spec.coffee | xargs sed -E -i "" "s/f+(it|describe) +(['\\"])/\\1 \\2/g"}
end
task :"verify-prerequisites" do
`hash coffee`
if not $?.success?
abort "error: coffee is required but it's not installed - " +
"http://coffeescript.org/ - (try `npm i -g coffee-script`)"
end
end
def application_path
applications = FileList["#{BUILD_DIR}/**/Atom.app"]
if applications.size == 0