Add ability to run benchmarks from rake

This commit is contained in:
Corey Johnson
2012-03-12 14:25:17 -07:00
parent 98bc29cdce
commit f0c2746f54

View File

@@ -32,6 +32,12 @@ task :run => :build do
end
end
desc "Run the benchmarks"
task :benchmark do
$ATOM_ENV.push "RUN_BENCHMARKS=1"
Rake::Task["run"].invoke
end
desc "Compile CoffeeScripts"
task :"compile-coffeescripts" do
project_dir = ENV['PROJECT_DIR'] || '.'