Sha256: f779c022fdd8f42e602118a1adbf313f9d380ebe55928bd6eb955aa78182d0c5

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 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

2 entries across 2 versions & 1 rubygems

Version Path
tjson-0.3.0 Guardfile
tjson-0.2.0 Guardfile