mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 18:48:55 +00:00
8f78dd03af
- Add `npm run lint:fix` command - Cleanup inferIcon.js logic slightly
13 lines
455 B
JavaScript
13 lines
455 B
JavaScript
import gulp from 'gulp';
|
|
import PATHS from './../helpers/src-paths';
|
|
import helpers from './../helpers/gulp-helpers';
|
|
|
|
const { buildES6 } = helpers;
|
|
|
|
gulp.task('build-static-not-js', () => gulp.src([PATHS.APP_STATIC_ALL, '!**/*.js'])
|
|
.pipe(gulp.dest(PATHS.APP_STATIC_DEST)));
|
|
|
|
gulp.task('build-static-js', done => buildES6(PATHS.APP_STATIC_JS, PATHS.APP_STATIC_DEST, done));
|
|
|
|
gulp.task('build-static', ['build-static-js', 'build-static-not-js']);
|