Last active
August 29, 2015 14:08
-
-
Save KatieK2/71a18a2801b8a272a28b to your computer and use it in GitHub Desktop.
autoprefixer-rails-3.1.2.20141016
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
# Require any additional compass plugins here. | |
# Set this to the root of your project when deployed: | |
http_path = "/" | |
css_dir = "./" | |
sass_dir = "./sass" | |
images_dir = "../images/site-styles" | |
javascripts_dir = "../js" | |
# You can select your preferred output style here (can be overridden via the command line): | |
output_style = :nested # :expanded or :nested or :compact or :compressed | |
# To enable relative paths to assets via compass helper functions. Uncomment: | |
# relative_assets = true | |
# To disable debugging comments that display the original location of your selectors. Uncomment: | |
line_comments = false | |
require 'autoprefixer-rails' | |
on_stylesheet_saved do |file| | |
css = File.read(file) | |
File.open(file, 'w') do |io| | |
io << AutoprefixerRails.process(css) | |
end | |
end | |
on_stylesheet_saved do |file| | |
puts ">>>> ZOMG" | |
end | |
#http://technosailor.com/2011/11/02/tutorial-using-sass-and-compass-for-managing-css-in-wordpress/ |
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
source 'https://rubygems.org' | |
gemspec | |
gem 'rake' | |
gem 'rails' | |
gem 'sass-rails' | |
gem 'rspec-rails' | |
gem 'therubyrhino', platforms: 'jruby' | |
gem 'therubyracer', platforms: ['mri', 'rbx'] | |
gem 'racc', platforms: 'rbx' | |
gem 'rubysl', platforms: 'rbx' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment