android.moparisthebest.org/config.rb
Joe Lencioni d3525f0769 Allow scss line comments in development
These line comments point to the original source file for each selector
in the compiled scss files, which is very helpful when working with your
styles. Allowing them to be rendered in development should make theme
development much easier.
2013-03-18 01:32:30 -05:00

28 lines
1004 B
Ruby

$:.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__)
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"
unless Octopress.env == 'development'
line_comments = false
output_style = :compressed
end