An open API service indexing awesome lists of open source software.

https://github.com/foca/bob

Bob the Builder will build your codes
https://github.com/foca/bob

Last synced: 4 months ago
JSON representation

Bob the Builder will build your codes

Awesome Lists containing this project

README

          

= Bob the Builder

Given a Buildable object with a determined API (described in it's documentation),
Bob will, when called like:

Bob.build(buildable, commit_id) # or Bob.build(buildable, [commit_id, commit_id, ...])

or from your buildable (if you are using the Bob::Buildable mixin provided) as:

buildable.build(commit_id) # or buildable.build([commit_id, commit_id, ...])

1. Checkout the buildable on the specified commit
2. Call Buildable#start_building
3. Run the script provided in Buildable#build_script in the buildable.
4. When the build process finishes, it will call Buildable#finish_building with
the commit_id, the build status (true if the script returns a status code
of 0, false otherwise), and a string with the build output (both STDOUT and STDERR).

If you pass an array of commits, the steps 1-4 will be repeated for each commit provided,
in order.

== Do I need this?

Probably not. Check out integrity[http://integrityapp.com] for a full fledged
automated CI server, which is what most people need.

== Credits

Authors:: Nicolas Sanguinetti (foca[http://github.com/foca]) and Simon Rozet (sr[http://github.com/sr])
License:: MIT (Check LICENSE for details)