Added sass-globbing, allowing plugin stylesheets to be auto-imported from the assets/stylesheets/plugins directory

This commit is contained in:
Brandon Mathis 2013-03-11 01:38:18 -05:00
parent 66b75fe40c
commit a4adca5fcd
5 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
/*
Add plugin stylesheets to this directory and they will be automatically
Imported. Load order is alphabetical and styles can be overriden in
custom/_style.scss which is loaded after all plugin stylesheets.
*/

View File

@ -7,4 +7,5 @@
@import "custom/layout";
@import "base";
@import "partials";
@import "plugins/**/*";
@import "custom/styles";

View File

@ -9,6 +9,7 @@ group :development do
gem 'RedCloth', '~> 4.2.9'
gem 'haml', '~> 3.1.7'
gem 'compass', '~> 0.12.2'
gem 'sass-globbing', '~> 1.0.0'
gem 'rubypants', '~> 0.2.0'
gem 'stringex', '~> 1.4.0'
gem 'liquid', '~> 2.3.0'

View File

@ -71,6 +71,8 @@ GEM
redcarpet (2.2.2)
rubypants (0.2.0)
sass (3.2.4)
sass-globbing (1.0.0)
sass (>= 3.1)
sinatra (1.3.3)
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
@ -110,6 +112,7 @@ DEPENDENCIES
rb-inotify
redcarpet (~> 2.2.2)
rubypants (~> 0.2.0)
sass-globbing (~> 1.0.0)
sinatra (~> 1.3.3)
stitch-rb
stringex (~> 1.4.0)

View File

@ -1,5 +1,6 @@
$:.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