Created
October 10, 2013 04:55
-
-
Save aNd1coder/6913238 to your computer and use it in GitHub Desktop.
custom compass compiled css filename
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ruby.exe -x "%~dpnx0" %* | |
goto :eof | |
#!ruby | |
module Compass | |
module Actions | |
end | |
end | |
require "compass/compiler" | |
module Compass | |
class Compiler | |
def css_files | |
sass_files.map{|sass_file| corresponding_css_file(sass_file)} | |
end | |
def corresponding_css_file(sass_file) | |
"#{to}/#{stylesheet_name(sass_file)}.s.css" | |
end | |
end | |
end | |
gem 'compass' | |
load Gem.bin_path('compass', 'compass') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment