mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Rename rake tasks to match their behavior
This commit is contained in:
@@ -726,7 +726,7 @@
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "rake build";
|
||||
shellScript = "rake compile-coffeescripts";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
10
Rakefile
10
Rakefile
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user