integrity-watcher makes it easy to build your integrityapp projects from the command line (or a cron).
This is just a gemified generalization of iamruinous' integrity-subversion-watcher.
sudo gem install bkoski-integrity-watcher
integrity-watcher should now be in your path.
integrity-watcher check PROJECTS --config=/path/to/integrity/config.yml OPTIONS
PROJECTS can be either:
a comma-delimited list of project names ("Project1,Project2")
“all”, which will check all projects in integrity
A lockfile is written into the temp_dir to prevent multiple watchers from running simultaneously.
The dependency_loader option should point to a file with the requires needed to bootstrap integrity. For example, it might contain:
require "integrity/notifier/email" Integrity::Notifier.register(Integrity::Notifier::Email)