0.2.1 • Published 9 years ago
pie-build v0.2.1
pie is a build tool for Node.js-based projects. It's similar to Cake, but adds smart dependency tracking so only the files that need to get rebuilt will be (like good old Make).
If you're experiencing pain using Cake or Rake or even Make for large JS projects, pie may just be your answer.
Features
- Flexible DSL for defining exactly the tasks and build targets you need (loose superset of Cake syntax)
- Smart dependecy tracking for fast incremental builds
- Built-in auto-watch with smart recalculation of changes
- Customizable command-line switches
- Fast in-VM compilation of CoffeeScript, LESS, and Handlebars files (and very easy to add new ones)
- Very fast for running
git bisecton large projects due to fast incremental builds - Growl notifications for build completion & errors
Installation
$ npm install pie-build -gUsage
Create a Piefile
For a very simple one, see the Piefile for this project: http://github.com/kenpratt/pie/blob/master/Piefile
Run a build
$ pieStart a watcher (will keep running, watching for changes and re-compiling files as needed)
$ pie watchIf you get Error: watch EMFILE, try increasing your open file discriptor limit. You can add this to your .bashrc or .zshrc to have it apply on boot.
$ ulimit -n 1024Run a clean build
$ pie clean buildJust clean
$ pie cleanList tasks
$ pie -TDeveloping
Grab the sources
$ git clone https://github.com/kenpratt/pie.git
$ cd pieInstall dependencies
$ npm installBootstrap pie
$ ./bin/bootstrapTry it out
$ pie
$ pie -TCopyright
Copyright (c) 2012 Ken Pratt. See LICENSE for details.
0.2.1
9 years ago