yui/shifter — pull request #49 by rgrove (2012-12-03 21:41:06+00:00)
Title: Add --build-dir arg and config option. [Closes #46]

When specified as an arg, the build directory will be resolved relative to shifter's CWD.

When specified as an option in a global config file, the build directory will be resolved relative to that global config file's directory.

I think I covered all the bases, but I wasn't quite sure how to add tests for the various build-dir cases (default, specified as arg, specified as global config). I added an arg parsing test, and all current tests pass, but let me know if you have any ideas about the best way to test the new functionality.