You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
556 B
25 lines
556 B
const { task } = require('gulp');
|
|
const del = require('del');
|
|
|
|
const packages = ['harmony-crypto'];
|
|
|
|
task('cleanBrowser', async () => {
|
|
await packages.map((p) => {
|
|
const pathToLib = `packages/${p}/lib`;
|
|
return del.sync([pathToLib]);
|
|
});
|
|
});
|
|
|
|
task('cleanServer', async () => {
|
|
await packages.map((p) => {
|
|
const pathToLib = `packages/${p}/node`;
|
|
return del.sync([pathToLib]);
|
|
});
|
|
});
|
|
|
|
task('cleanDocs', async () => {
|
|
await packages.map((p) => {
|
|
const pathToLib = `packages/${p}/doc`;
|
|
return del.sync([pathToLib]);
|
|
});
|
|
});
|
|
|