projmate-cli
Projmate takes the best of Jake, Grunt and my experience with project deployments.
- Build environments are first class citizens
- Uses pipe and filters instead of everything-is-a-task hammer
- Watch is built into every task
- HTTP and HTTPS server for testing non-secure connections
Installation
To install
npm install projmate-cli@0.1.0-dev -g
Example Projfile.coffee
= f = pmfilters $ = pmshell pmregisterTasks stylesheets: desc: "Builds all stylesheets" files: include: "client/css/barclet.less" "client/css/style.less" "client/css/styleEmbedded.less" "client/css/styleInline.less" # Watch all less files not just the main ones for rebuilding. watch: "client/css/**/*.less" development: flessdumpLineNumbers: "comments" faddHeadertext: "/* Stylesheets are belong to us! */" fwriteFilelchomp: "client"destinationDir: "build" production: flessdumpLineNumbers: "comments" faddHeadertext: "/* Stylesheets are belong to us! */" fcssMinify fgzip fwriteFilelchomp: "client"destinationDir: "build"
Watch
Watching files is usually capped.
On Linux (debian/ubuntu)
-
Add this line to
/etc/sysctl.conf
fs.inotify.max_user_watches = 524288
-
Then apply changes:
sudo sysctl -p
License
Copyright (c) 2013 Mario Gutierrez mario@projmate.com
See the file LICENSE for copying permission.