diff --git a/code/data/favicon.ico b/code/espurna/data/favicon.ico similarity index 100% rename from code/data/favicon.ico rename to code/espurna/data/favicon.ico diff --git a/code/data/fsversion b/code/espurna/data/fsversion similarity index 100% rename from code/data/fsversion rename to code/espurna/data/fsversion diff --git a/code/data/images/check.png b/code/espurna/data/images/check.png similarity index 100% rename from code/data/images/check.png rename to code/espurna/data/images/check.png diff --git a/code/data/index.html.gz b/code/espurna/data/index.html.gz similarity index 100% rename from code/data/index.html.gz rename to code/espurna/data/index.html.gz diff --git a/code/data/password.html.gz b/code/espurna/data/password.html.gz similarity index 100% rename from code/data/password.html.gz rename to code/espurna/data/password.html.gz diff --git a/code/data/script.js.gz b/code/espurna/data/script.js.gz similarity index 100% rename from code/data/script.js.gz rename to code/espurna/data/script.js.gz diff --git a/code/data/style.css.gz b/code/espurna/data/style.css.gz similarity index 100% rename from code/data/style.css.gz rename to code/espurna/data/style.css.gz diff --git a/code/gulpfile.js b/code/gulpfile.js index ce6a8134..181cfeb4 100644 --- a/code/gulpfile.js +++ b/code/gulpfile.js @@ -34,9 +34,11 @@ const useref = require('gulp-useref'); const gulpif = require('gulp-if'); const inline = require('gulp-inline'); +const destination = 'espurna/data/'; + /* Clean destination folder */ gulp.task('clean', function() { - del(['data/*']); + del([ destination + '*']); return true; }); @@ -46,7 +48,7 @@ gulp.task('files', function() { 'html/**/*.{jpg,jpeg,png,ico,gif}', 'html/fsversion' ]) - .pipe(gulp.dest('data/')); + .pipe(gulp.dest(destination)); }); @@ -66,7 +68,7 @@ gulp.task('inline', function() { minifyJS: true })) .pipe(gzip()) - .pipe(gulp.dest('data')); + .pipe(gulp.dest(destination)); }) /* Process HTML, CSS, JS */ @@ -83,7 +85,7 @@ gulp.task('html', function() { minifyJS: true }))) .pipe(gzip()) - .pipe(gulp.dest('data')); + .pipe(gulp.dest(destination)); }); /* Build file system */