🍔 Simple implementation of the hungry-consumer model in Elixir
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
280 B

# -*- ruby -*-
guard :shell do
interactor :off
notification :emacs
watch(/^(lib|test).*\.exs?$/) do |f|
`mix test >/dev/tty`
if $?.success?
Notifier.notify "Success", type: "success"
else
Notifier.notify "Failed", type: "failed"
end
end
end