Browse Source

Adds #1562 version number to dist/

pull/1574/head
jlukic 10 years ago
parent
commit
39aba912ab
2 changed files with 4 additions and 2 deletions
  1. 2
      tasks/banner.js
  2. 4
      tasks/gulp-settings.js

2
tasks/banner.js

@ -1,6 +1,6 @@
module.exports = ''
+ ' /*' + '\n'
+ ' * # <%= title %>' + '\n'
+ ' * # <%= title %> - <%= version %>' + '\n'
+ ' * <%= repository %>' + '\n'
+ ' * <%= url %>' + '\n'
+ ' *' + '\n'

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

Loading…
Cancel
Save