Skip to content

Instantly share code, notes, and snippets.

@vcarel
Created October 13, 2014 06:32
Show Gist options
  • Save vcarel/288e6be75666d26ffe6a to your computer and use it in GitHub Desktop.
Save vcarel/288e6be75666d26ffe6a to your computer and use it in GitHub Desktop.
Help task for gulp
var gulp = require('gulp');
gulp.task('default', function (done) {
var chalk = require('chalk');
console.log('');
console.log(chalk.bold('Available tasks'));
console.log(chalk.cyan(' build') + ' Build and minify the application.');
console.log(chalk.cyan(' clean') + ' Clean the build directory.');
console.log(chalk.cyan.bold(' default') + ' Display this help.');
console.log(chalk.cyan(' dist') + ' Create a distributable .tar.gz file.');
console.log(chalk.cyan(' watch') + ' Build continuously whenever a file changes.');
console.log('');
done();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment