From 39aba912abdbc1972e12a46e9056e31d374df0e5 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 5 Jan 2015 16:23:47 -0500 Subject: [PATCH] Adds #1562 version number to dist/ --- tasks/banner.js | 2 +- tasks/gulp-settings.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/banner.js b/tasks/banner.js index ade58cc7a..6facd63a8 100644 --- a/tasks/banner.js +++ b/tasks/banner.js @@ -1,6 +1,6 @@ module.exports = '' + ' /*' + '\n' - + ' * # <%= title %>' + '\n' + + ' * # <%= title %> - <%= version %>' + '\n' + ' * <%= repository %>' + '\n' + ' * <%= url %>' + '\n' + ' *' + '\n' diff --git a/tasks/gulp-settings.js b/tasks/gulp-settings.js index a7f6a82fc..8b731e2d9 100644 --- a/tasks/gulp-settings.js +++ b/tasks/gulp-settings.js @@ -2,7 +2,8 @@ var path = require('path'), fs = require('fs'), - defaults = require('./defaults') + defaults = require('./defaults'), + package = require('../package.json') ; module.exports = { @@ -29,6 +30,7 @@ module.exports = { }, header: { title : defaults.title, + version : package.version, repository : defaults.repository, url : defaults.url },