Sha256: 774186dc32a28a3486bd7426ed06b49f0cf99676976f1ad5eba71821262e8a02

Contents?: true

Size: 456 Bytes

Versions: 5

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

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

guard :rspec, cmd: "GUARD_RSPEC=1 bundle exec rspec --no-profile" 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

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
jmse-0.0.0 Guardfile
veriform-0.0.0 Guardfile
zser-0.0.1 Guardfile
tjson-0.5.0 Guardfile
tjson-0.4.0 Guardfile