gulp-macros
sweetjs macros for gulp
Installation
npm install sweet.js gulp-macros -g
npm install gulp-macros --save-dev
Usage
Create file gulpfile.sjs
Example
var gulp = ;var coffee = ;var concat = ;var uglify = ;var sourcemaps = ; task 'scripts' @ 'js/**/*.coffee' '!client/external/**/*.coffee'; | sourcemaps; | ; | ; | ; | sourcemaps; > 'build/js'; task 'watch' watch '**/*.coffee' 'scripts'; task 'default' 'watch' 'scripts'
CLI
$ gulps [task]$ gulps watch$ gulps scripts$ gulps