diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-09 07:58:35 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-09 17:27:22 +0530 |
commit | 3eb663a494826ae9b2b0a8fa529c3fca3d354a71 (patch) | |
tree | 6a957ca9c67f86e12fa7bb09834ab2e9b9f473b2 /gulpfile.babel.js | |
parent | Enhanced 'About dialog' to show the build date, git SHA & branch (fixes #1373... (diff) | |
download | ferdium-app-3eb663a494826ae9b2b0a8fa529c3fca3d354a71.tar.gz ferdium-app-3eb663a494826ae9b2b0a8fa529c3fca3d354a71.tar.zst ferdium-app-3eb663a494826ae9b2b0a8fa529c3fca3d354a71.zip |
Clean the 'out' directory as well when running 'gulp clean'.
Diffstat (limited to 'gulpfile.babel.js')
-rw-r--r-- | gulpfile.babel.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 01700ff7c..692ada685 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js | |||
@@ -39,6 +39,7 @@ const paths = { | |||
39 | src: 'src', | 39 | src: 'src', |
40 | dest: 'build', | 40 | dest: 'build', |
41 | tmp: '.tmp', | 41 | tmp: '.tmp', |
42 | dist: 'out', | ||
42 | package: `out/${config.version}`, | 43 | package: `out/${config.version}`, |
43 | buildInfoDestFile: 'build/buildInfo.json', | 44 | buildInfoDestFile: 'build/buildInfo.json', |
44 | recipes: { | 45 | recipes: { |
@@ -105,6 +106,7 @@ function _shell(cmd, cb) { | |||
105 | const clean = (done) => { | 106 | const clean = (done) => { |
106 | removeSync(paths.tmp); | 107 | removeSync(paths.tmp); |
107 | removeSync(paths.dest); | 108 | removeSync(paths.dest); |
109 | removeSync(paths.dist); | ||
108 | 110 | ||
109 | done(); | 111 | done(); |
110 | }; | 112 | }; |