Add the build commands used to the custom build's copyright/license header. [via @phated]

Former-commit-id: 2e1ff0c6a83e3c4c404ad4bac968f12d34afaa6e
This commit is contained in:
John-David Dalton
2012-11-11 21:42:52 -08:00
parent 255211cd07
commit 6f258000fe
6 changed files with 95 additions and 52 deletions

View File

@@ -49,7 +49,7 @@
if (!snippet) {
return source;
}
// add license
// add copyright/license header
return licenseTemplate[/call\(this\);?$/.test(source) ? 'underscore' : 'lodash']
.replace('@VERSION', snippet[2]) + '\n;' + source;
}