always call script/bootstrap before building

This commit is contained in:
Corey Johnson
2012-09-19 12:09:16 -07:00
parent fab4d4e4e5
commit 4d56fb8998

View File

@@ -12,8 +12,12 @@ task "create-project" do
`python tools/gyp/gyp --depth=. atom.gyp`
end
task :bootstrap do
`script/bootstrap`
end
desc "Build Atom via `xcodebuild`"
task :build => "create-project" do
task :build => ["create-project", "bootstrap"] do
command = "xcodebuild -target Atom configuration=Release SYMROOT=#{BUILD_DIR}"
puts command
output = `#{command}`