CoffeScript Cake extensions.
CakePop is a set of Node.js build helpers and CoffeeScript Cake extensions. It provides various utility wrappers for bash shell commands and other Node.js binary process executions.
Documentation is presently in source comments in
cakepop.coffee. While not
ideal, the source is quite readable. There will be a more friendly version in
Warning: The library is currently undergoing a lot of restructuing and change, so expect the API to drastically change until things settle down. Breaking changes will be versioned (with git tags and in NPM), but that's about it for now.
To get the library:
$ npm install cakepop
CakePop does not install dependencies for tasks that are shell-invoked,
to keep the library small and let the user install the proper version of a
coffeelint). So, you will need manual installations for the
npm install coffee-script
npm install coffeelint
Here are some common
Cakefile tasks that CakePop can help with.
Exec / spawn a bash process:
utils = require("cakepop").utils task "hello1", "Exec 'hello world'", -> utils.exec "echo Hello World" task "hello2", "Spawn 'hello world'", -> utils.spawn "echo", ["Hello World"]
See the API documentation for more.
CakePop is Copyright 2012 Ryan Roemer. Released under the MIT License.