android.moparisthebest.org/config.rb

28 lines
1004 B
Ruby
Raw Normal View History

$:.unshift File.expand_path("lib", File.dirname(__FILE__)) # For use/testing when no gem is installed
require "octopress"
require 'sass-globbing'
config = Octopress::Configuration.new.read_configuration
project_path = File.dirname(__FILE__)
2009-10-18 20:07:36 -04:00
project_type = :stand_alone
# 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"
# 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
unless Octopress.env == 'development'
line_comments = false
output_style = :compressed
end