From c445d5c67424cc05fff71b0ce7d2e650875bcbb5 Mon Sep 17 00:00:00 2001 From: Lee Olayvar Date: Mon, 24 Nov 2014 21:42:45 +0000 Subject: [PATCH] Enabled basic Teams Generating --- gulpfile.coffee | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/gulpfile.coffee b/gulpfile.coffee index da63474..0061f32 100644 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -90,8 +90,8 @@ format_json = (data, filepath) -> - -gulp.task 'run', -> +# ## Generate the readme from the template and team json files +gulp.task 'readme', -> gulp.src [ 'README.template.md' './Teams/**/TeamKoders/team.json' @@ -101,4 +101,14 @@ gulp.task 'run', -> .pipe concat 'README.md', newLine: '' .pipe gulp.dest './' -gulp.task 'default', ['run'] + +# ## Generate the TEAMS.md +gulp.task 'teams', -> + gulp.src [ + './Teams/**/ABOUT.md' + ] + .pipe concat 'TEAMS.md', newLine: "\n\n#{Array(40).join("-")}\n\n" + .pipe gulp.dest './' + + +gulp.task 'default', ['readme', 'teams']