Sha256: d39691fa972fd2e39e06b1fac3881002898c5dccbf504782830a308804ee9adb

Contents?: true

Size: 560 Bytes

Versions: 17

Compression:

Stored size: 560 Bytes

Contents

guard :rubocop, all_on_start: false, cli: [ "--display-cop-names", "--display-style-guide" ] do
  watch( /lib\/.*\.rb$/ )
  watch( /spec\/.*\.rb$/ )
end

guard :rspec, cmd: "bundle exec rspec" do
  require "guard/rspec/dsl"
  dsl = Guard::RSpec::Dsl.new(self)

  # Feel free to open issues for suggestions and improvements

  # RSpec files
  rspec = dsl.rspec
  watch(rspec.spec_helper) { rspec.spec_dir }
  watch(rspec.spec_support) { rspec.spec_dir }
  watch(rspec.spec_files)

  # Ruby files
  ruby = dsl.ruby
  dsl.watch_spec_files_for(ruby.lib_files)
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
shamu-0.0.24 Guardfile
shamu-0.0.21 Guardfile
shamu-0.0.20 Guardfile
shamu-0.0.19 Guardfile
shamu-0.0.18 Guardfile
shamu-0.0.17 Guardfile
shamu-0.0.15 Guardfile
shamu-0.0.14 Guardfile
shamu-0.0.13 Guardfile
shamu-0.0.11 Guardfile
shamu-0.0.9 Guardfile
shamu-0.0.8 Guardfile
shamu-0.0.7 Guardfile
shamu-0.0.5 Guardfile
shamu-0.0.4 Guardfile
shamu-0.0.3 Guardfile
shamu-0.0.2 Guardfile