diff --git a/gulpfile.js b/gulpfile.js index 3717fc030d..8456323bdb 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -78,15 +78,7 @@ gulp.task('scripts', function () { var requirejsOptimize = require('gulp-requirejs-optimize'); var replace = require('gulp-replace-task'); var header = require('gulp-header'); - var comment = [ - '/**', - ' * Open MCT https://nasa.github.io/openmct/', - ' * Version: ${version}', - ' * Built: ${timestamp}', - ' * Revision: ${revision}', - ' * Branch: ${branch}', - ' */\n' - ].join('\n'); + var comment = fs.readFileSync('src/about.frag'); return gulp.src(paths.main) .pipe(sourcemaps.init()) diff --git a/src/about.frag b/src/about.frag new file mode 100644 index 0000000000..54a1961159 --- /dev/null +++ b/src/about.frag @@ -0,0 +1,7 @@ +/** + * Open MCT https://nasa.github.io/openmct/ + * Version: ${version} + * Built: ${timestamp} + * Revision: ${revision} + * Branch: ${branch} + */