Sha256: aefe2b1e41db5874ca085997481a7c8352cc52dc868bd4fa4ef11fa60573c729

Contents?: true

Size: 1.05 KB

Versions: 36

Compression:

Stored size: 1.05 KB

Contents

guard 'spork' do
  watch('Gemfile')
  watch('spec/spec_helper.rb')  { :rspec }
  watch(%r{^features/support/}) { :cucumber }
end

rspec_cli = '--color --drb --format Fuubar'
rspec_cli += ' --tag ~@api_client --tag ~@not_supported_on_windows' if RUBY_PLATFORM =~ /mswin|mingw|windows/
guard 'rspec', cli: rspec_cli, all_on_start: false, all_after_pass: false do
  watch(%r{^spec/unit/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})          { |m| "spec/unit/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')       { 'spec' }
end

cucumber_cli = '--drb --format pretty --tags ~@no_run --tags ~@wip'
cucumber_cli += ' --tags ~@spawn --tags ~@api_server' if RUBY_PLATFORM =~ /mswin|mingw|windows/
guard 'cucumber', cli: cucumber_cli, all_on_start: false, all_after_pass: false do
  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' }

  watch(%r{^lib/berkshelf/cli.rb})                      { 'features' }
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
berkshelf-5.5.0 Guardfile
berkshelf-5.4.0 Guardfile
berkshelf-5.3.0 Guardfile
berkshelf-5.2.0 Guardfile
berkshelf-5.1.0 Guardfile
berkshelf-5.0.0 Guardfile
berkshelf-4.3.5 Guardfile
berkshelf-4.3.3 Guardfile
berkshelf-4.3.2 Guardfile
berkshelf-4.3.1 Guardfile
berkshelf-4.3.0 Guardfile
berkshelf-4.2.3 Guardfile
berkshelf-4.2.2 Guardfile
berkshelf-4.2.1 Guardfile
berkshelf-4.2.0 Guardfile
berkshelf-4.1.1 Guardfile
berkshelf-4.1.0 Guardfile
berkshelf-4.0.1 Guardfile
berkshelf-4.0.0 Guardfile
berkshelf-3.3.0 Guardfile