2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-11 15:51:06 +00:00
nativefier/gulp/build.js

19 lines
427 B
JavaScript
Raw Normal View History

2016-02-27 16:45:44 +00:00
import gulp from 'gulp';
import del from 'del';
import runSequence from 'run-sequence';
import PATHS from './helpers/src-paths';
2016-02-27 16:45:44 +00:00
gulp.task('build', (callback) => {
2018-05-24 06:34:18 +00:00
runSequence('clean', ['build-cli', 'build-app'], callback);
2016-02-27 16:45:44 +00:00
});
gulp.task('clean', (callback) => {
del(PATHS.CLI_DEST).then(() => {
del(PATHS.APP_DEST).then(() => {
del(PATHS.TEST_DEST).then(() => {
callback();
});
2016-02-27 16:45:44 +00:00
});
});
2016-02-27 16:45:44 +00:00
});