Just run tests via guard, nothing more

This commit is contained in:
Marcin Kulik
2013-10-01 19:14:39 +02:00
parent f905c5ce34
commit d4aac6dfa8

View File

@@ -15,11 +15,7 @@ def run_test(file)
end end
guard 'shell' do guard 'shell' do
watch('Makefile') { |m| `make` }
watch(%r{src/(.+)\.py$}) do |m| watch(%r{src/(.+)\.py$}) do |m|
`make`
test_filename = "tests/#{m[1]}_test.py" test_filename = "tests/#{m[1]}_test.py"
if File.exists?(test_filename) if File.exists?(test_filename)