-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGuardfile
More file actions
18 lines (13 loc) · 820 Bytes
/
Guardfile
File metadata and controls
18 lines (13 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
# guard 'coffeescript', :input => 'app/assets/javascripts'
guard 'sass', :input => 'sass', :output => 'stylesheets'
guard :jammit, :config_path => '_assets.yml', :output_folder => 'javascripts/' do
watch(%r{^javascripts/(.*)\.js$})
end
# Any files created or modified in the 'source' directory
# will be copied to the 'target' directory. Update the
# guard as appropriate for your needs.
guard :copy, :from => 'stylesheets', :to => 'dist/stylesheets', :run_at_start => true, :mkpath => true, :delete => true
guard :copy, :from => 'javascripts', :to => 'dist/javascripts', :run_at_start => true, :mkpath => true, :delete => true
guard :copy, :from => 'images', :to => 'dist/images', :run_at_start => true, :mkpath => true, :delete => true