From b0796fc4b9e2c14f874d4ed4732c664bc60b91c4 Mon Sep 17 00:00:00 2001 From: Maddison Hellstrom Date: Tue, 31 Oct 2017 00:27:41 -0700 Subject: [PATCH] Clean up gulpfile - Improve formatting - Gulpfile is now linted by jshint --- gulpfile.js | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 3e8002e..60f90fe 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -10,9 +10,11 @@ const compl = require('./completions'); var paths = { scripts: ['conf.priv.js', 'completions.js', 'conf.js'], + gulpfile: ['gulpfile.js'], readme: ['README.tmpl.md'], }; +// This notice will be injected into the generated README.md file const disclaimer = `\ ", disclaimer)) .pipe(replace("", compl.length)) - .pipe(replace("", complTable)) + .pipe(replace("", table)) .pipe(rename('README.md')) .pipe(gulp.dest('.')); -}) +}); gulp.task('default', ['build']);