mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
fe3ac0b260
This keeps things behaving sanely in such cases.
23 lines
741 B
Ruby
23 lines
741 B
Ruby
$:.unshift File.expand_path("lib", File.dirname(__FILE__)) # For use/testing when no gem is installed
|
|
require "octopress"
|
|
|
|
config = Octopress::Configuration.new.read_configuration
|
|
|
|
project_path = File.dirname(__FILE__)
|
|
project_type = :stand_alone
|
|
|
|
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"
|
|
|
|
sass_dir = "sass"
|
|
images_dir = "#{config[:source]}/images"
|
|
fonts_dir = "#{config[:source]}/fonts"
|
|
generated_images_dir = "#{config[:source]}/images"
|
|
|
|
line_comments = false
|
|
output_style = :compressed
|