mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 19:58:03 +01:00
Just run tests via guard, nothing more
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user