File: Guardfile

package info (click to toggle)
ruby-dotenv 2.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 260 kB
  • sloc: ruby: 769; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
guard "bundler" do
  watch("Gemfile")
end

guard "rspec", cmd: "bundle exec rspec" do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^spec/spec_helper.rb$}) { "spec" }
  watch(%r{^lib/(.+)\.rb$})        { |m| "spec/#{m[1]}_spec.rb" }
end