diff options
author | 2018-11-22 14:14:25 +0100 | |
---|---|---|
committer | 2018-11-22 14:14:25 +0100 | |
commit | 46b8c8c4b3a5b80e0187b284abc84566a7e784db (patch) | |
tree | 7fd378bcdd18e78c42dfeb61a15f89fd10106046 /gulpfile.babel.js | |
parent | ADD features loading spinner (diff) | |
parent | feat(App): Add option to enable dark mode for supported services (diff) | |
download | ferdium-app-46b8c8c4b3a5b80e0187b284abc84566a7e784db.tar.gz ferdium-app-46b8c8c4b3a5b80e0187b284abc84566a7e784db.tar.zst ferdium-app-46b8c8c4b3a5b80e0187b284abc84566a7e784db.zip |
Merge branch 'develop' into feature/features-api
Diffstat (limited to 'gulpfile.babel.js')
-rw-r--r-- | gulpfile.babel.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 95b026f66..ad8adda2e 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js | |||
@@ -3,10 +3,10 @@ import gulp from 'gulp'; | |||
3 | import babel from 'gulp-babel'; | 3 | import babel from 'gulp-babel'; |
4 | import sass from 'gulp-sass'; | 4 | import sass from 'gulp-sass'; |
5 | import server from 'gulp-server-livereload'; | 5 | import server from 'gulp-server-livereload'; |
6 | import del from 'del'; | ||
7 | import { exec } from 'child_process'; | 6 | import { exec } from 'child_process'; |
8 | import dotenv from 'dotenv'; | 7 | import dotenv from 'dotenv'; |
9 | import sassVariables from 'gulp-sass-variables'; | 8 | import sassVariables from 'gulp-sass-variables'; |
9 | import { removeSync } from 'fs-extra'; | ||
10 | 10 | ||
11 | import config from './package.json'; | 11 | import config from './package.json'; |
12 | 12 | ||
@@ -49,7 +49,12 @@ function _shell(cmd, cb) { | |||
49 | }); | 49 | }); |
50 | } | 50 | } |
51 | 51 | ||
52 | const clean = () => del([paths.tmp, paths.dest]); | 52 | const clean = (done) => { |
53 | removeSync(paths.tmp); | ||
54 | removeSync(paths.dest); | ||
55 | |||
56 | done(); | ||
57 | }; | ||
53 | export { clean }; | 58 | export { clean }; |
54 | 59 | ||
55 | export function mvSrc() { | 60 | export function mvSrc() { |