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 },