Sha256: 57034b1ac951f2391f2c4b1481bdd9718fcd17006839c547d5281a6a1fcd2289

Contents?: true

Size: 534 Bytes

Versions: 4

Compression:

Stored size: 534 Bytes

Contents

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

guard 'cucumber' do
  watch(%r{^bin/.+$})
  watch(%r{^features/.+\.feature$})
  watch(%r{^features/support/.+$})          { 'features' }
  watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
end

guard :rspec do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
  watch('lib/nagios/zfs.rb')  { "spec" }
  watch('spec/spec_helper.rb')  { "spec" }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nagios-zfs-0.2.0 Guardfile
nagios-zfs-0.1.1 Guardfile
nagios-zfs-0.1.0 Guardfile
nagios-zfs-0.0.1 Guardfile