This repository has been archived by the owner on May 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.rb
68 lines (49 loc) · 1.85 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
require 'zurb-foundation'
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
# local
# css_dir = "css"
# remote
css_dir = "/Volumes/enceladus.weeverdev.com/www/backbone/wp-content/plugins/wp_weeverapps/static/css"
sass_dir = "scss"
# add_import_path = "scss/weeverapps/platforms/appbuilder-cloud/appbuilder-cloud"
images_dir = "img"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
output_style = :expanded
# 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 = true
# 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
# DOCUMENTATION
# FILE NAME: sass.rb
#
# To run it, use ruby ./sass.rb
# To get all options, use ruby ./sass.rb -h
#
# Here's some examples:
#
# For generating a wordpress-friendly app.css:
# ruby ./sass.rb --type wordpress
# or
# ruby ./sass.rb -t wp
#
# For generating a joomla friendly app.css:
# ruby ./sass.rb --type joomla
# or
# ruby ./sass.rb -t j
#
# AppBuilder is the default type, but can be specified using "appBuilder" or "ab".
#
# You can specify the "output style" (nested, expanded, compact, compressed) using the -s or --style switch:
# ruby ./sass.rb --type wordpress --style compact
#
# And you can include the wx-css-development folder by adding the --debug (-d) switch:
# ruby ./sass.rb -d