From a6476739f0ed57cfdadce38d986025fe529c4dcf Mon Sep 17 00:00:00 2001 From: Marcos Marado Date: Mon, 14 Nov 2016 20:33:48 +0000 Subject: [PATCH] add more machine-readable data about the license This small change is meant to make LibreJS happy. Closes: #1273 --- Gruntfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 0e2981509..25e1f1bd1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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: [