Sha256: c7aff5a877b993c5adeea5fd67b5b6a929798fa60bf2fe06f2b7c49bfd1024a4

Contents?: true

Size: 482 Bytes

Versions: 4

Compression:

Stored size: 482 Bytes

Contents

# frozen_string_literal: true

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

  # 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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
acumatica-0.7.0 Guardfile
acumatica-0.6.0 Guardfile
acumatica-0.5.0 Guardfile
acumatica-0.4.0 Guardfile