Permalink
Browse files

Added isolate to setup for local use and tasks to fire up jekyll in v…

…arious forms
  • Loading branch information...
1 parent 21aafa3 commit 28de37a71b80069f16b3147c57894655317e4e95 @zenspider zenspider committed Aug 27, 2011
Showing with 23 additions and 2 deletions.
  1. +23 −2 Rakefile
View
@@ -1,4 +1,25 @@
require 'rake'
-desc "This is to make RCR happy"
-task :default
+begin
+ require "isolate"
+ require "isolate/rake"
+ Isolate.now! :path => ".isolate", :system => false do
+ gem "jekyll", "~> 0.11"
+ gem "RedCloth"
+ end
+rescue LoadError => e
+ puts "Couldn't isolate jekyll -- hope you have it installed globally"
+ puts e
+end
+
+task :default => :build
+
+desc "Run jekyll once -- finds errors fast"
+task :build do
+ sh "jekyll --no-auto --no-server"
+end
+
+desc "Run jekyll server for iterative blog writing"
+task :server do
+ sh "jekyll --server"
+end

0 comments on commit 28de37a

Please sign in to comment.