Browse code

Move generate + deploy to separate task

fhemberger authored on 12/09/2011 at 18:48:26
Showing 1 changed files
... ...
@@ -200,7 +200,12 @@ end
200 200
 
201 201
 desc "Default deploy task"
202 202
 task :deploy do
203
-  [:generate, :copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
203
+  [:copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
204
+end
205
+
206
+desc "Generate website and deploy"
207
+task :gen_deploy do
208
+  [:generate, :deploy].each { |t| Rake::Task[t].execute }
204 209
 end
205 210
 
206 211
 desc "copy dot files for deployment"