Properly init eco for rake bench.

This commit is contained in:
kpdecker
2011-08-21 16:28:57 -05:00
parent 2f7b724d5a
commit 86d71e6fc8
+2 -2
View File
@@ -97,9 +97,9 @@ task :bench => "vendor" do
end
if File.directory?("vendor/eco")
system "cd vendor/eco && git pull"
system "cd vendor/eco && git pull && npm update"
else
system "git clone git://github.com/sstephenson/eco.git vendor/eco"
system "git clone git://github.com/sstephenson/eco.git vendor/eco && cd vendor/eco && npm update"
end
system "node bench/handlebars.js"