Sha256: 205beffe39b480f031d45de0b3880b90fcc910d6e1a40b76a71378df62bdccde

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

<% if self.sass -%>
<% if self.jammit -%>
guard "sass", :input => "sass", :output => "tmp"
<% else -%>
guard "sass", :input => "sass", :output => "public/stylesheets"
<% end -%>
<% end -%>
<% if self.coffeescript -%>
<% if self.jammit -%>
guard "coffeescript", :input => "coffeescripts", :output => "tmp"
<% else -%>
guard "coffeescript", :input => "coffeescripts", :output => "public/javascripts"
<% end -%>
<% if self.testing -%>
guard "coffeescript", :input => "spec", :output => "spec"
<% end -%>
<% end -%> 
<% if self.jammit -%>
guard "jammit", :force => true do
  watch(/^javascripts\/(.*)\.js/)
  watch(/^stylesheets\/(.*)\.css/)
<% if self.coffeescript -%>
  watch(/^tmp\/(.*)\.js/)
<% end -%>
<% if self.sass -%>
  watch(/^tmp\/(.*)\.css/)
<% end -%>
end
<% end -%>

guard 'livereload' do
  watch(%r{public/.+\.(css|js|html)})
<% if self.jammit -%>
  watch(%r{public/assets/.+\.(css|js|html)})
<% else -%>
  watch(%r{public/javascripts/.+\.js})
  watch(%r{public/stylesheets/.+\.css})
<% end -%>
<% if self.testing -%>
  watch(%r{spec/.+\.(|js|html)})  
<% end -%>
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qedproject-0.3.2 templates/Guardfile
qedproject-0.3.1 templates/Guardfile