2013-01-27 01:02:58 -05:00
|
|
|
$:.unshift File.expand_path("lib", File.dirname(__FILE__)) # For use/testing when no gem is installed
|
2013-01-18 19:49:31 -05:00
|
|
|
require "octopress"
|
|
|
|
|
2013-02-20 14:40:44 -05:00
|
|
|
config = Octopress::Configuration.new.read_configuration
|
2013-01-18 19:49:31 -05:00
|
|
|
|
2013-02-22 00:45:03 -05:00
|
|
|
project_path = File.dirname(__FILE__)
|
2009-10-18 20:07:36 -04:00
|
|
|
project_type = :stand_alone
|
2011-07-16 14:52:50 -04:00
|
|
|
|
2013-01-18 19:49:31 -05:00
|
|
|
compass_http_path = config[:destination].gsub('public', '')
|
|
|
|
http_path = compass_http_path
|
|
|
|
http_images_path = "#{compass_http_path}/images"
|
|
|
|
http_generated_images_path = "#{compass_http_path}/images"
|
|
|
|
http_fonts_path = "#{compass_http_path}/fonts"
|
|
|
|
css_dir = "#{config[:destination]}/stylesheets"
|
2011-07-16 14:52:50 -04:00
|
|
|
|
2011-05-15 18:33:00 -04:00
|
|
|
sass_dir = "sass"
|
2013-01-18 19:49:31 -05:00
|
|
|
images_dir = "#{config[:source]}/images"
|
|
|
|
fonts_dir = "#{config[:source]}/fonts"
|
|
|
|
generated_images_dir = "#{config[:source]}/images"
|
2011-04-17 23:49:30 -04:00
|
|
|
|
|
|
|
line_comments = false
|
|
|
|
output_style = :compressed
|