config.rb 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. require 'compass/import-once/activate'
  2. Encoding.default_external = Encoding.find('utf-8')
  3. # Require any additional compass plugins here.
  4. # bootstrap 已经包含normalize
  5. # require 'compass-normalize'
  6. # Set this to the root of your project when deployed:
  7. http_path = "/"
  8. # project_path = ""
  9. css_dir = ".tmp/serve/app"
  10. sass_dir = "src/app"
  11. images_dir = "src/assets/images"
  12. javascripts_dir = "src/app/"
  13. sprite_load_path = ["src/assets/images/sprite"]
  14. # You can select your preferred output style here (can be overridden via the command line):
  15. # output_style = :expanded or :nested or :compact or :compressed
  16. # output_style = :expanded
  17. # To enable relative paths to assets via compass helper functions. Uncomment:
  18. # relative_assets = true
  19. # To disable debugging comments that display the original location of your selectors. Uncomment:
  20. # line_comments = false
  21. # If you prefer the indented syntax, you might want to regenerate this
  22. # project again passing --syntax sass, or you can uncomment this:
  23. # preferred_syntax = :sass
  24. # and then run:
  25. # sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
  26. sourcemap = true
  27. # 使用绝对路径方便调试http://sass-lang.com/documentation/file.SASS_REFERENCE.html#options
  28. sass_options = {:sourcemap => :file}