alxndr/fake_british_toponym

View on GitHub
Guardfile

Summary

Maintainability
Test Coverage
guard :rspec, cmd: "bundle exec rspec" do
  watch(%r{^spec/.+_spec\.rb$})
  watch("spec/spec_helper.rb")  { "spec" }
  watch("Gemfile.lock")         { "spec" }
  watch(%r{^lib/(.+)\.rb$})     { |m| specfile = "spec/#{m[1]}_spec.rb" and File.exists?(specfile) ? specfile : "spec" }
end

guard :yard, cli: "--reload" do
  watch(%r{lib/.+\.rb})
end