Created
December 4, 2013 12:04
-
-
Save franksmule/7786463 to your computer and use it in GitHub Desktop.
Config file for Cake with Prepros, change the css_dir relativeness to what suites. Also change output 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
css_dir = "../../www/app/View/Themed/Admin/webroot/css/" | |
sass_dir = "/" | |
output_style = :compressed | |
require 'fileutils' | |
on_stylesheet_saved do |file| | |
if File.exists?(file) | |
puts "Moving: #{file}" | |
FileUtils.mv(file,File.dirname(file) + "/admin.min.css") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment