integrity-watcher

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.

INSTALLATION

sudo gem install bkoski-integrity-watcher

integrity-watcher should now be in your path.

USAGE

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

Options:

--temp_dir=/some/dir

A lockfile is written into the temp_dir to prevent multiple watchers from running simultaneously.

--dependency_loader=/path/to/dependency_loader.rb

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)