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