krainboltgreene/library.io — pull request #7 by krainboltgreene (2012-05-24 00:53:21+00:00)
Title: Scaffold for new libraries

This gives the binary a sub-command for building new libraries based on library.io

Here's an example usage for the command:

``` shell
$ library new shogun -b
Creating a new library named "shogun.io" in your current directory...

Creating shogun.io/ [dir]
Creating shogun.io/test/ [dir]
Creating shogun.io/test/shogun.io [file]
Creating shogun.io/test/shogun/ [dir]
Creating shogun.io/test/shogun/sample.io [file]
Creating shogun.io/lib/ [dir]
Creating shogun.io/lib/shogun.io [file]
Creating shogun.io/lib/shogun/ [dir]
Creating shogun.io/lib/shogun/sample.io [file]
Creating shogun.io/ex/ [dir]
Creating shogun.io/ex/ex1.io [file]
Creating shogun.io/bin/ [dir]
Creating shogun.io/bin/shogun.io [file]

Done! To start working on this library:

* Change into the directory [`cd shogun.io`]
* Make sure the sample tests run [`library test`]
* Start writing tests
* Write code to make the tests run
* Refact your code!
```