Rename rake tasks to match their behavior

This commit is contained in:
Corey Johnson
2012-03-12 11:17:32 -07:00
parent f7be856f2f
commit 4a726646c1
2 changed files with 3 additions and 9 deletions

View File

@@ -726,7 +726,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "rake build";
shellScript = "rake compile-coffeescripts";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

View File

@@ -1,7 +1,7 @@
ENV['PATH'] = "#{ENV['PATH']}:/usr/local/bin/"
desc "Build the shit."
task :build do
desc "Compile CoffeeScripts"
task :"compile-coffeescripts" do
project_dir = ENV['PROJECT_DIR'] || '.'
built_dir = ENV['BUILT_PRODUCTS_DIR'] || '.'
contents_dir = ENV['CONTENTS_FOLDER_PATH'].to_s
@@ -23,12 +23,6 @@ task :build do
sh "coffee -c #{dest}/src #{dest}/vendor #{dest}/spec"
end
desc "Install the app in /Applications"
task :install do
rm_rf "/Applications/Atomicity.app"
cp_r "Cocoa/build/Debug/Atomicity.app /Applications"
end
desc "Change webkit frameworks to use @rpath as install name"
task :"webkit-fix" do
for framework in FileList["frameworks/*.framework"]