-
Notifications
You must be signed in to change notification settings - Fork 0
/
Guardfile
38 lines (36 loc) · 825 Bytes
/
Guardfile
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
# Compile haml files
guard 'haml',
:input => 'haml',
:output => '.',
:run_at_start => true,
:haml_options => {
:attr_wrapper => '"',
:escape_attrs => false,
:escape_html => false,
:remove_whitespace => true,
# :ugly => true
}
# Compile coffeescript
guard 'coffeescript',
:input => 'coffee',
:output => 'js',
:bare => true,
:source_map => false,
:shallow => false,
:error_to_js => true,
:source_root => '/coffee',
:all_on_start => true
# Compile sass
guard 'sass',
:input => 'sass',
:output => 'css',
:all_on_start => true,
:style => :compressed,
:compass => {
:images_dir => "/images",
:images_path => File.join(Dir.pwd, "images"),
:http_path => "/",
:http_images_path => "/images",
:http_images_dir => "/images",
:relative_assets => true
}