mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 07:41:04 +00:00
20 lines
473 B
JavaScript
20 lines
473 B
JavaScript
import gulp from 'gulp';
|
|
import PATHS from './helpers/src-paths';
|
|
|
|
import del from 'del';
|
|
import runSequence from 'run-sequence';
|
|
|
|
gulp.task('build', callback => {
|
|
runSequence('clean', ['build-cli', 'build-app', 'build-tests'], callback);
|
|
});
|
|
|
|
gulp.task('clean', callback => {
|
|
del(PATHS.CLI_DEST).then(() => {
|
|
del(PATHS.APP_DEST).then(() => {
|
|
del(PATHS.TEST_DEST).then(() => {
|
|
callback();
|
|
});
|
|
});
|
|
});
|
|
});
|