Sha256: 2df1e880c51b94890dd48d9b50c8cc609de497aba342054a9cd4f2fab65c651b

Contents?: true

Size: 510 Bytes

Versions: 3

Compression:

Stored size: 510 Bytes

Contents

guard :rspec, cmd: "bundle exec 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)

  # Lib files
  watch(%r{^lib/any_sms.rb$}) { rspec.spec_dir }
  watch(%r{^lib/(.+)\.rb$}) { |m| rspec.spec.call(m[1]) }

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

guard "yard" do
  watch(%r{lib/.+\.rb})
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
any_sms-backend-aws-0.1.1 Guardfile
any_sms-backend-aws-0.1.0 Guardfile
any_sms-backend-aws-0.0.2 Guardfile