From 182085d3f80762a28d1160b92da10f0d6a99c712 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 31 Jan 2018 09:23:42 +0100 Subject: [PATCH] Remove the generation of the splash screen assets --- .gitignore | 1 - gulpfile.js | 19 +++++-------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 99a44158f..c67a19737 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ node_modules/ coverage/ webadmin/dist/ -setup/splash/website/ installer/src/certs/server.key # vim swap files diff --git a/gulpfile.js b/gulpfile.js index 6c452bd48..918e11342 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -28,12 +28,10 @@ gulp.task('3rdparty', function () { 'webadmin/src/3rdparty/**/*.woff', 'webadmin/src/3rdparty/**/*.woff2' ]) - .pipe(gulp.dest('webadmin/dist/3rdparty/')) - .pipe(gulp.dest('setup/splash/website/3rdparty')); + .pipe(gulp.dest('webadmin/dist/3rdparty/')); gulp.src('node_modules/bootstrap-sass/assets/javascripts/bootstrap.min.js') - .pipe(gulp.dest('webadmin/dist/3rdparty/js')) - .pipe(gulp.dest('setup/splash/website/3rdparty/js')); + .pipe(gulp.dest('webadmin/dist/3rdparty/js')); }); @@ -182,8 +180,7 @@ gulp.task('js-update', function () { .pipe(sourcemaps.init()) .pipe(uglifyer) .pipe(sourcemaps.write()) - .pipe(gulp.dest('webadmin/dist/js')) - .pipe(gulp.dest('setup/splash/website/js')); + .pipe(gulp.dest('webadmin/dist/js')); }); @@ -191,14 +188,10 @@ gulp.task('js-update', function () { // HTML // -------------- -gulp.task('html', ['html-views', 'html-update', 'html-templates'], function () { +gulp.task('html', ['html-views', 'html-templates'], function () { return gulp.src('webadmin/src/*.html').pipe(ejs({ apiOriginHostname: oauth.apiOriginHostname }, {}, { ext: '.html' })).pipe(gulp.dest('webadmin/dist')); }); -gulp.task('html-update', function () { - return gulp.src(['webadmin/src/update.html']).pipe(gulp.dest('setup/splash/website')); -}); - gulp.task('html-views', function () { return gulp.src('webadmin/src/views/**/*.html').pipe(gulp.dest('webadmin/dist/views')); }); @@ -218,8 +211,7 @@ gulp.task('css', function () { .pipe(autoprefixer()) .pipe(cssnano()) .pipe(sourcemaps.write()) - .pipe(gulp.dest('webadmin/dist')) - .pipe(gulp.dest('setup/splash/website')); + .pipe(gulp.dest('webadmin/dist')); }); gulp.task('images', function () { @@ -249,7 +241,6 @@ gulp.task('watch', ['default'], function () { gulp.task('clean', function () { rimraf.sync('webadmin/dist'); - rimraf.sync('setup/splash/website'); }); gulp.task('default', ['clean', 'html', 'js', '3rdparty', 'images', 'css'], function () {});