Sha256: 63f46e77f765cfda124ea3140dff49f3de7e0dd64a68b642e3959cea4f2fb0e4

Contents?: true

Size: 791 Bytes

Versions: 2

Compression:

Stored size: 791 Bytes

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard :jasmine, console: :always do
  watch(%r{spec/javascripts/spec\.(js\.coffee|js|coffee)$}) { 'spec/javascripts' }
  watch(%r{spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$})
  watch(%r{spec/javascripts/fixtures/.+$})
  watch(%r{app/assets/stylesheets/.+$})
  watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{ m[1] }_spec.#{ m[2] }" }
end


# verify that application Javascript files are lintable
# see https://github.com/psionides/jslint_on_rails
guard 'jslint-on-rails' do
  # watch for changes to application javascript files
  watch(%r{^app/assets/javascripts/.*\.js$})
  # watch for changes to the JSLint configuration
  watch('config/jslint.yml')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
partystreusel-1.0.8 Guardfile
partystreusel-1.0.7 Guardfile