summaryrefslogtreecommitdiffhomepage
path: root/gui/gulpfile.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-08-26 13:35:57 +0200
committerAndrej Mihajlov <and@mullvad.net>2019-08-28 17:19:00 +0200
commitca022b8540b993a2f6bcdb6f33c751f4b5a56b58 (patch)
tree319285377f6e5e19abd513a9194f3685d9a4d9a4 /gui/gulpfile.js
parent40f2a6d3397694d3bb0d4025daee00f61f9c92d4 (diff)
downloadmullvadvpn-ca022b8540b993a2f6bcdb6f33c751f4b5a56b58.tar.xz
mullvadvpn-ca022b8540b993a2f6bcdb6f33c751f4b5a56b58.zip
Switch build pipeline to Gulp
Diffstat (limited to 'gui/gulpfile.js')
-rw-r--r--gui/gulpfile.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/gui/gulpfile.js b/gui/gulpfile.js
new file mode 100644
index 0000000000..10e61b98b9
--- /dev/null
+++ b/gui/gulpfile.js
@@ -0,0 +1,13 @@
+const path = require('path');
+const { task, series } = require('gulp');
+const rimraf = require('rimraf');
+
+const scripts = require('./tasks/scripts');
+const assets = require('./tasks/assets');
+const watch = require('./tasks/watch');
+
+task('clean', function(done) {
+ rimraf('./build', done);
+});
+task('build', series('clean', assets.copyAll, scripts.build));
+task('develop', series('clean', watch.start));