1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Remove pages task; this is in a separate repo now

This commit is contained in:
Norman Clarke 2012-04-27 21:54:48 -03:00
parent 30b45be3d9
commit b30964c9e6

View file

@ -51,27 +51,6 @@ begin
rescue LoadError
end
task :pages do
puts "#{'=' * 50} Running rake pages"
ensure_git_cleanup do
sh %{git checkout haml-pages}
sh %{git reset --hard origin/haml-pages}
Dir.chdir("/var/www/haml-pages") do
sh %{git fetch origin}
sh %{git checkout stable}
sh %{git reset --hard origin/stable}
sh %{git checkout haml-pages}
sh %{git reset --hard origin/haml-pages}
sh %{rake build --trace}
sh %{mkdir -p tmp}
sh %{touch tmp/restart.txt}
end
end
end
desc <<END
Profile Haml.
TIMES=n sets the number of runs. Defaults to 1000.