EndangeredMassa/npub — pull request #10 by abloom (2014-11-21 20:17:35+00:00)
Title: Only call verify after prep and tests are complete

Calling `verify` at the beginning and then after the `prep` steps is a waste of cycles. By delaying the call to `verify` until after the tests are run we also take advantage of any pre/post tests tasks added to the `package.json`.

We found that calling verify immediately conflicted with our release process:

1. clean (remove node_modules and lib)
1. setup (npm install)
1. npub publish X

Calling verify immediately caused it to fail since our checkout was dirty (missing lib contents). Part of our test process is to build the coffee. By verifying the git status after prep and test we cover all our bases.