Generate site before deploying, execute tasks in sequence

This commit is contained in:
fhemberger 2011-09-12 19:49:18 +02:00
parent 5c275542c3
commit 960a57c256

View File

@ -199,7 +199,8 @@ end
##############
desc "Default deploy task"
multitask :deploy => [:copydot, "#{deploy_default}"] do
task :deploy do
[:generate, :copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
end
desc "copy dot files for deployment"