Browse Source

Arduino IDE compatibility (#18) - Moved data folder under espurna folder

fastled
Xose Pérez 8 years ago
parent
commit
2ae69fe799
8 changed files with 6 additions and 4 deletions
  1. +0
    -0
      code/espurna/data/favicon.ico
  2. +0
    -0
      code/espurna/data/fsversion
  3. +0
    -0
      code/espurna/data/images/check.png
  4. +0
    -0
      code/espurna/data/index.html.gz
  5. +0
    -0
      code/espurna/data/password.html.gz
  6. +0
    -0
      code/espurna/data/script.js.gz
  7. +0
    -0
      code/espurna/data/style.css.gz
  8. +6
    -4
      code/gulpfile.js

code/data/favicon.ico → code/espurna/data/favicon.ico View File


code/data/fsversion → code/espurna/data/fsversion View File


code/data/images/check.png → code/espurna/data/images/check.png View File


code/data/index.html.gz → code/espurna/data/index.html.gz View File


code/data/password.html.gz → code/espurna/data/password.html.gz View File


code/data/script.js.gz → code/espurna/data/script.js.gz View File


code/data/style.css.gz → code/espurna/data/style.css.gz View File


+ 6
- 4
code/gulpfile.js View File

@ -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 */


Loading…
Cancel
Save