From d7e510c8879f92aa915971de136962c87d25db7a Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Sat, 24 May 2014 08:31:02 +0200 Subject: [PATCH] Add rake task to deploy --- Rakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Rakefile b/Rakefile index 26e0f7d..e09ba04 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,10 @@ require 'stringex' +desc "compile and launch" +task :launch do + sh "nanoc compile && nanoc deploy -t public" +end + desc "Create a new post" task :new_post, :title do |t, args| mkdir_p './content/posts'