Skip to content

Commit

Permalink
Using ruby config file for sass & compass
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Carlos Picado committed Mar 4, 2014
1 parent 83e6bb0 commit 66b1eee
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
2 changes: 0 additions & 2 deletions enme-css/compass.sh

This file was deleted.

25 changes: 25 additions & 0 deletions enme-css/config.rb
@@ -0,0 +1,25 @@
require 'compass/import-once/activate'
# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "src/main/webapp/resource/dev/"
sass_dir = "src/css/resource/sass/"
images_dir = "src/main/webapp/resource/images"
javascripts_dir = "src/main/webapp/resource/images/js/css"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :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


# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass

0 comments on commit 66b1eee

Please sign in to comment.