Created
October 13, 2014 06:32
-
-
Save vcarel/288e6be75666d26ffe6a to your computer and use it in GitHub Desktop.
Help task for gulp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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