Sha256: 93d43353241c90e468e196d59776b2e8be6503d9a814d17d66e463da75fde695

Contents?: true

Size: 542 Bytes

Versions: 58

Compression:

Stored size: 542 Bytes

Contents

guard :rspec, cmd: "NO_COVERAGE=true bin/rspec --format documentation" do
  require "guard/rspec/dsl"

  dsl = Guard::RSpec::Dsl.new self

  # Ruby
  ruby = dsl.ruby
  dsl.watch_spec_files_for ruby.lib_files

  # RSpec
  rspec = dsl.rspec
  watch rspec.spec_files

  # Hanami
  watch(rspec.spec_helper) { rspec.spec_dir }
  watch(%r(^spec/hanami_helper.rb$)) { rspec.spec_dir }
  watch(%r(^app/(.+)\.rb$)) { |result| rspec.spec.call("app/#{result[1]}") }
  watch(%r(^slices/(.+)\.rb$)) { |result| rspec.spec.call("slices/#{result[1]}") }
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
hanamismith-1.4.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-1.3.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-1.2.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-1.1.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-1.0.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.50.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.49.1 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.49.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.48.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.47.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.46.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.45.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.44.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.43.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.42.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.41.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.40.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.39.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.38.0 lib/hanamismith/templates/%project_name%/Guardfile.erb
hanamismith-0.37.0 lib/hanamismith/templates/%project_name%/Guardfile.erb