Boxen
Manage Mac development boxes with love (and Puppet).
Rules for Services
-
Run on a nonstandard port, usually default port + 1000 or 10000.
-
Install with a custom Boxen homebrew formula.
-
Suffix the Homebrew package's version, starting with
-boxen1. -
Run as a launchd service in the
devnamespace, e.g.,dev.dnsmasq. -
Store config, data, and log files in `$BOXEN_HOME/{config,data,log}. This will normally require customization of a service's Homebrew formula.
Sometimes it's not possible to follow these rules, but try hard.
Hooks
-
All hooks must be in the namespace
Boxen::Hook::MyThing. -
All hooks must subclass from
Boxen::Hook -
All hooks must provide a private instance method
required_environment_variablesthat returns an array with at least one entry. -
All hooks must provide a private instance method
#call.
Contributing
Use the OS X system Ruby (1.8.7). Run script/tests often. Open PR's.