Sha256: 098cd5a74bf8ffd15a6815de87cb3549b2cb1d8b50f0554c5bfb824b8031c800

Contents?: true

Size: 545 Bytes

Versions: 5

Compression:

Stored size: 545 Bytes

Contents

scope groups: [:doc, :lint, :unit]

group :doc do
  guard :yard do
    watch(%r{^lib/(.+)\.rb$})
  end
end

group :lint do
  guard :rubocop do
    watch(%r{.+\.rb$})
    watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
  end
end

group :unit do
  guard :rspec, cmd: 'bundle exec rspec --color --format Fuubar' do
    watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
    watch(%r{^lib/abucoins/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
    watch(%r{^spec/.+_spec\.rb$})
    watch('spec/spec_helper.rb') { 'spec' }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
abucoins-0.3.1 Guardfile
abucoins-0.3.0 Guardfile
abucoins-0.2.0 Guardfile
abucoins-0.1.0 Guardfile
abucoins-0.0.1 Guardfile