This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
old-monorepo/Dashboard/gulpfile.js

17 lines
575 B
JavaScript
Raw Normal View History

2020-07-30 20:59:37 +02:00
const { task, series } = require('gulp');
const rimraf = require('rimraf');
const scripts = require('./tasks/scripts');
const assets = require('./tasks/assets');
const watch = require('./tasks/watch');
const dist = require('./tasks/distribution');
task('clean', function (done) {
rimraf('./build', done);
});
task('build', series('clean', assets.copyHtml, scripts.build));
task('develop', series('clean', watch.start));
task('pack-win', series('build', dist.packWin));
task('pack-linux', series('build', dist.packLinux));
task('pack-mac', series('build', dist.packMac));