[Build] Simplify header template

This commit is contained in:
Victor Woeltjen 2017-06-02 12:23:57 -07:00
parent 6de5f73d78
commit beb24adf7a

View File

@ -81,10 +81,10 @@ gulp.task('scripts', function () {
var comment = [
'/**',
' * Open MCT https://nasa.github.io/openmct/',
' * Version: ${pkg.version}',
' * Built: ${pkg.timestamp}',
' * Revision: ${pkg.revision}',
' * Branch: ${pkg.branch}',
' * Version: ${version}',
' * Built: ${timestamp}',
' * Revision: ${revision}',
' * Branch: ${branch}',
'*/\n'
].join('\n');
@ -93,7 +93,7 @@ gulp.task('scripts', function () {
.pipe(requirejsOptimize(options.requirejsOptimize))
.pipe(sourcemaps.write('.'))
.pipe(replace(options.replace))
.pipe(header(comment, { pkg: options.replace.variables}))
.pipe(header(comment, options.replace.variables))
.pipe(gulp.dest(paths.dist));
});