Move generate + deploy to separate task

This commit is contained in:
fhemberger 2011-09-12 20:48:26 +02:00
parent 960a57c256
commit 04973e0948

View File

@ -200,7 +200,12 @@ end
desc "Default deploy task" desc "Default deploy task"
task :deploy do task :deploy do
[:generate, :copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute } [:copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
end
desc "Generate website and deploy"
task :gen_deploy do
[:generate, :deploy].each { |t| Rake::Task[t].execute }
end end
desc "copy dot files for deployment" desc "copy dot files for deployment"