diff options
author | Gennadiy Litvinyuk <gennadiy@gmail.com> | 2016-02-05 15:03:19 +0100 |
---|---|---|
committer | Lon Ingram <lawnsea@gmail.com> | 2016-11-11 12:01:16 -0600 |
commit | 45e14b7b4557255709e0ca3a07f645ecf0623483 (patch) | |
tree | 9de3d40467371f64ea71b10fd2d9b4fa68072f1f | |
parent | 1379e8f50c63d78d1faff29134eeecc756971b2d (diff) | |
download | handlebars.js-45e14b7b4557255709e0ca3a07f645ecf0623483.zip handlebars.js-45e14b7b4557255709e0ca3a07f645ecf0623483.tar.gz handlebars.js-45e14b7b4557255709e0ca3a07f645ecf0623483.tar.bz2 |
Preserve License info in Closure Compiler
To preserve license info in Closure Compiler the license has to be JSDoc-comment (not simple comment) and have @license before license text
-rw-r--r-- | Gruntfile.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 97cfff0..ce85e9a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -22,7 +22,7 @@ module.exports = function(grunt) { dist: { options: { processContent: function(content) { - return grunt.template.process('/*!\n\n <%= pkg.name %> v<%= pkg.version %>\n\n<%= grunt.file.read("LICENSE") %>\n@license\n*/\n') + return grunt.template.process('/**!\n\n @license\n <%= pkg.name %> v<%= pkg.version %>\n\n<%= grunt.file.read("LICENSE") %>\n*/\n') + content; } }, |