Skip to content

Instantly share code, notes, and snippets.

@aNd1coder
Created October 10, 2013 04:55
Show Gist options
  • Save aNd1coder/6913238 to your computer and use it in GitHub Desktop.
Save aNd1coder/6913238 to your computer and use it in GitHub Desktop.
custom compass compiled css filename
@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