Add guard

Broken for me currently. Somehow guard adds a --guard option flag to its
minitest command, but minitest won't have it.
This commit is contained in:
2018-06-26 19:25:52 -07:00
parent fe2a9385d9
commit 3ccf26a578
3 changed files with 39 additions and 0 deletions

5
Guardfile Normal file
View File

@@ -0,0 +1,5 @@
guard :minitest do
watch(%r{^test/(.*)\/?(.*)_test\.rb$})
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
watch(%r{^test/test_helper\.rb$}) { 'test' }
end