Browse code

Generate site before deploying, execute tasks in sequence

fhemberger authored on 12/09/2011 at 17:49:18
Showing 1 changed files
... ...
@@ -199,7 +199,8 @@ end
199 199
 ##############
200 200
 
201 201
 desc "Default deploy task"
202
-multitask :deploy => [:copydot, "#{deploy_default}"] do
202
+task :deploy do
203
+  [:generate, :copydot, "#{deploy_default}"].each { |t| Rake::Task[t].execute }
203 204
 end
204 205
 
205 206
 desc "copy dot files for deployment"