Skip to content

Commit

Permalink
add //@Version string to polymer builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Aug 8, 2013
1 parent aafd5fc commit b9429fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* license that can be found in the LICENSE file.
*/
module.exports = function(grunt) {
var banner = [grunt.file.read('LICENSE'), '// @version ' + grunt.file.readJSON('package.json').version, ''].join(grunt.util.linefeed);
Platform = [
'../platform/platform.min.js'
];
Expand Down Expand Up @@ -81,7 +82,7 @@ module.exports = function(grunt) {
},
uglify: {
options: {
banner: grunt.file.read('LICENSE'),
banner: banner,
nonull: true
},
Polymer: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Polymer",
"version": "0.0.1",
"version": "0.0.20130808",
"devDependencies": {
"mocha": "*",
"chai": "*",
Expand Down

0 comments on commit b9429fd

Please sign in to comment.