Skip to content

Commit

Permalink
add more machine-readable data about the license
Browse files Browse the repository at this point in the history
This small change is meant to make LibreJS happy.

Closes: #1273
  • Loading branch information
marado authored and nknapp committed Jan 6, 2017
1 parent 9119265 commit a647673
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Gruntfile.js
Expand Up @@ -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: [
Expand Down

0 comments on commit a647673

Please sign in to comment.