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:
parent
30b45be3d9
commit
b30964c9e6
1 changed files with 0 additions and 21 deletions
21
Rakefile
21
Rakefile
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue