From 4d56fb89989e435024d0eb0c5b2ca73e926bac96 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Wed, 19 Sep 2012 12:09:16 -0700 Subject: [PATCH] always call script/bootstrap before building --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 92b061deb..6eefffb26 100644 --- a/Rakefile +++ b/Rakefile @@ -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}`