lib/alula/rake_tasks.rb in alula-0.0.1 vs lib/alula/rake_tasks.rb in alula-0.1.0

- old
+ new

@@ -23,8 +23,20 @@ task :preview do puts "==> Starting preview" site = Alula::Site.new site.preview end + + desc "Generate blog (deployment)" + task :publish do + site = Alula::Site.new("asset_compress" => true) + site.generate + end + + desc "Starts preview server in deployment mode" + task :preview_publish do + site = Alula::Site.new("asset_compress" => true) + site.preview + end end end end