1
0
Fork 0
mirror of synced 2024-11-26 18:55:34 -05:00
ultimate-vim/sources_non_forked/vim-node/Guardfile
2014-06-13 21:52:19 +08:00

8 lines
347 B
Ruby

guard :minitest, :all_on_start => false, :cli => ENV["TEST_OPTS"] do
watch(%r(^(.*)\.vim$)) {|m| "test/#{m[1]}_test.rb" }
watch(%r(^([^/]+)/[^/]+\.vim$)) {|m| "test/#{m[1]}_test.rb" }
watch(%r(^([^/]+)/[^/]+/(.*)\.vim$)) {|m| "test/#{m[1]}/#{m[2]}_test.rb" }
watch(%r(^test/(.*)\/?_test\.rb))
watch(%r(^test/helper\.rb)) { "test" }
end