Sha256: 3823d942f685a5fce08fc8b5880f51c2aa758a5ee471c3a61478060a5535d996

Contents?: true

Size: 1.11 KB

Versions: 8

Compression:

Stored size: 1.11 KB

Contents

<% if self.sass -%>
<% if self.jammit -%>
guard "sass", :input => "sass", :output => "_qedtmp"
<% else -%>
guard "sass", :input => "sass", :output => "public/stylesheets"
<% end -%>
<% end -%>
<% if self.coffeescript -%>
<% if self.jammit -%>
guard "coffeescript", :input => "coffeescripts", :output => "_qedtmp"
<% 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(/^_qedtmp\/(.*)\.js/)
<% end -%>
<% if self.sass -%>
  watch(/^_qedtmp\/(.*)\.css/)
<% end -%>
end
<% end -%>

<% if self.livereload -%>
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
<% end -%>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
qedproject-0.6.2.1 templates/Guardfile
qedproject-0.6.2 templates/Guardfile
qedproject-0.6.1 templates/Guardfile
qedproject-0.6.0 templates/Guardfile
qedproject-0.5.0 templates/Guardfile
qedproject-0.4.2 templates/Guardfile
qedproject-0.4.1 templates/Guardfile
qedproject-0.4.0 templates/Guardfile