add more machine-readable data about the license

This small change is meant to make LibreJS happy.

Closes: #1273
This commit is contained in:
Marcos Marado
2016-11-14 20:33:48 +00:00
committed by Nils Knappmeier
parent 9119265204
commit a6476739f0
+3 -2
View File
@@ -22,8 +22,9 @@ module.exports = function(grunt) {
dist: {
options: {
processContent: function(content) {
return grunt.template.process('/**!\n\n @license\n <%= pkg.name %> v<%= pkg.version %>\n\n<%= grunt.file.read("LICENSE") %>\n*/\n')
+ content;
return grunt.template.process('/**!\n\n @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat\n <%= pkg.name %> v<%= pkg.version %>\n\n<%= grunt.file.read("LICENSE") %>\n*/\n')
+ content
+ '\n// @license-end\n';
}
},
files: [