maccman/spine — pull request #344 by abernier (2012-06-30 14:50:05+00:00)
Title: Publish flow

Hey Alex,

Since tests are now runnable server-side, what about running them before publishing spine to NPM registry.

That is the main purpose of this pull-request...

For this, I'm using the power of Make to deal with build dependencies. Thanks to it, npm publish will in order:
1. build `lib/*.js`
2. build `test/specs/*.js` (which have been converted to CS in `test/specs/src`)
3. run phantomjs on each `test/*.html`
4. If success (and only if), will submit spine to NPM registry
5. and finally (as an extra) will tag the version to the repository.

A kind of automated workflow that make sure Spine releases are tested before being published.

Please tell me what you think about this / review the code.

Cheers.