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-03-11 02:38:18 -04:00
|
|
|
require 'sass-globbing'
|
2013-01-18 19:49:31 -05:00
|
|
|
|
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-02-10 03:47:53 -05:00
|
|
|
# Publishing paths
|
|
|
|
compass_http_path = config[:destination].gsub('public', '')
|
|
|
|
http_path = compass_http_path
|
|
|
|
http_images_path = "#{http_path}/images"
|
|
|
|
http_generated_images_path = "#{http_path}/images"
|
|
|
|
http_fonts_path = "#{http_path}/fonts"
|
|
|
|
css_dir = "#{config[:destination]}/stylesheets"
|
2011-07-16 14:52:50 -04:00
|
|
|
|
2013-02-10 03:47:53 -05:00
|
|
|
# Local development paths
|
|
|
|
sass_dir = "assets/stylesheets"
|
|
|
|
images_dir = "#{config[:source]}/images"
|
|
|
|
fonts_dir = "#{config[:source]}/fonts"
|
|
|
|
generated_images_dir = "#{config[:source]}/images"
|
2011-04-17 23:49:30 -04:00
|
|
|
|
2013-03-13 11:51:10 -04:00
|
|
|
unless Octopress.env == 'development'
|
|
|
|
line_comments = false
|
|
|
|
output_style = :compressed
|
|
|
|
end
|