We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ddc987 commit 1209b34Copy full SHA for 1209b34
Guardfile
@@ -1,10 +1,11 @@
1
# A sample Guardfile
2
# More info at https://github.com/guard/guard#readme
3
4
-guard :minitest, include: %w(. app app/presenters lib test), test_folders: %w(test/micro) do
+guard :minitest, include: %w(. app app/presenters app/git lib test), test_folders: %w(test/micro) do
5
watch(%r{^test/micro.*\.rb})
6
watch(%r{^test/fast_test_helper\.rb}) { "test/micro" }
7
watch(%r{^app/presenters/(.*)\.rb}) { |m| "test/micro/presenters/#{m[1]}_test.rb" }
8
+ watch(%r{^app/git/(.*)\.rb}) { |m| "test/micro/git/#{m[1]}_test.rb" }
9
watch(%r{^app/validators/(.*)\.rb}) { |m| "test/micro/validators/#{m[1]}_test.rb" }
10
watch(%r{^app/commands/(.*)\.rb}) { |m| "test/micro/commands/#{m[1]}_test.rb" }
11
watch(%r{^lib/(.*)\.rb}) { |m| "test/micro/#{m[1]}_test.rb" }
0 commit comments