Boot task displaying visual notification based on the build status.
Relies on terminal-notifier on OSX and notify-send on Linux.
Add boot-notify
to your build.boot
dependencies and require
the namespace:
(set-env! :dependencies '[[jeluard/boot-notify "0.2.1" :scope "test"]])
(require '[jeluard.boot-notify :refer [notify]])
Use (notify)
wherever you would use (speak)
.
You can see the options available on the command line:
boot notify -h
or in the REPL:
boot.user=> (doc notify)
Copyright © 2015 Julien Eluard
Distributed under the Eclipse Public License, the same as Clojure.