Skip to content

Commit 1cc0af9

Browse files
committed
Fix header
1 parent 42aaf25 commit 1cc0af9

File tree

3 files changed

+59
-6
lines changed

3 files changed

+59
-6
lines changed

Gruntfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const Jasmine = require('jasmine');
66
module.exports = function (grunt) {
77
function getHeaderText() {
88
let packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8')),
9+
licenseText = '\n\n/*' + fs.readFileSync('./LICENSE.txt', 'utf8') + '\n*/\n\n',
910
currentDate = (function () {
1011
var today = new Date(),
1112
dd = today.getDate(),
@@ -30,8 +31,9 @@ module.exports = function (grunt) {
3031
return yyyy;
3132
}());
3233
return '/*! amdclean - v' + packageJson.version + ' - ' + currentDate +
33-
'\n* http://github.com/6si/amdclean' +
34-
'\n* Copyright (c) ' + currentYear + ' Greg Franko */\n';
34+
'\n* Modified work: https://github.com/6si/amdclean' +
35+
'\n* Original work: https://github.com/gfranko/amdclean' +
36+
'\n* Original Copyright (c) ' + currentYear + ' Greg Franko */\n' + licenseText;
3537
}
3638
const header = getHeaderText();
3739
// Project configuration.

0 commit comments

Comments
 (0)