Creating a new project

To create a new project, simply run the following command:

$ teapot create "My Project" https://github.com/kurocha/ generate-project

This will fetch all dependencies and generate the basic project structure automatically. All the build logic is generated into the file teapot.rb.

Building and running the project

Next, to build and run the project:

$ cd my-project

$ teapot Run/MyProject
... snip build output ...
I'm a little teapot,
Short and stout,
Here is my handle (one hand on hip),
Here is my spout (other arm out with elbow and wrist bent).
When I get all steamed up,
Hear me shout,
Tip me over and pour me out! (lean over toward spout)

                   ___^___   __
               .- /       \./ /
              /  /          _/
              \__|         |
Elapsed Time: 1.033s

One thing you'll notice is how explict the build process is in general. Lots of build systems hide away important details in config.log files and when you encounter problems it can be complicated to debug. Teapot makes every step explicit to reduce this burden.