Class: Guard::Eunit
Instance Method Summary collapse
Instance Method Details
#run_all ⇒ Object
19 20 |
# File 'lib/guard/erlang.rb', line 19 def run_all end |
#run_on_change(paths) ⇒ Object
22 23 24 25 26 27 |
# File 'lib/guard/erlang.rb', line 22 def run_on_change(paths) paths.each do |x| functions = `cd ebin && #{erlang_fun} a`.split puts `#{eunit "a"}` if functions.include?("test/0") end end |