Sha256: 1c6fa1c0eb200be86fcb3d341376d0fad0be43339a92a02ea101369923230f50
Contents?: true
Size: 849 Bytes
Versions: 5
Compression:
Stored size: 849 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme # Note: The cmd option is now required due to the increasing number of ways # rspec may be run, below are examples of the most common uses. # * bundler: 'bundle exec rspec' # * bundler binstubs: 'bin/rspec' # * spring: 'bin/rsspec' (This will use spring if running and you have # installed the spring binstubs per the docs) # * zeus: 'zeus rspec' (requires the server to be started separetly) # * 'just' rspec: 'rspec' guard :rspec, cmd: 'bundle exec rspec' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { 'spec' } end guard :rubocop, cli: '--auto-correct' do watch(%r{.+\.rb$}) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
capistrano-env-0.3.3 | Guardfile |
capistrano-env-0.3.2 | Guardfile |
capistrano-env-0.3.1 | Guardfile |
capistrano-env-0.3.0 | Guardfile |
capistrano-env-0.2.0 | Guardfile |