From 4df1e989145174e9217e581e6a731f291b6e5567 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 27 Mar 2010 21:16:46 -0700 Subject: [PATCH] Add the local compass code to the load path automatically when compiling via rake. --- doc-src/Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/doc-src/Rakefile b/doc-src/Rakefile index 68cd3905..4daa2ddc 100644 --- a/doc-src/Rakefile +++ b/doc-src/Rakefile @@ -16,6 +16,7 @@ task :watch do require 'fssm' require 'nanoc3' require 'nanoc3/cli' + $:<< File.expand_path(File.dirname(__FILE__)+"/../lib") Dir['lib/commands/*.rb'].map{|d| d[4..-1]}.sort.each { |f| require f } Dir['lib/data_sources/*.rb'].map{|d| d[4..-1]}.sort.each { |f| require f } Nanoc3::NotificationCenter.on(:compilation_started) do |rep|