-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.rb
31 lines (25 loc) · 958 Bytes
/
config.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This is the config.rb file to support Upbase. Move this to your root folder after you bower install.
# Set this to the root of your project when deployed:
http_path = "/"
# And this is where compass will watch and compile stuff when it runs:
css_dir = "static/css/"
sass_dir = "static/scss"
images_dir = "static/img"
javascripts_dir = "static/js"
fonts_dir = "static/fonts"
relative_assets = true
# This line tells compass to look at the Upbase styles in your bower_components dir
add_import_path "bower_components/Upbase/components"
line_comments = false
# output_style = :compact :compressed :nested :expanded
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# Add Autoprefixer Support
# https://github.com/ai/autoprefixer#usage
require 'autoprefixer-rails'
on_stylesheet_saved do |file|
css = File.read(file)
File.open(file, 'w') do |io|
io << AutoprefixerRails.process(css)
end
end