antv-l7/bin/mkdir-dist.js

9 lines
201 B
JavaScript
Executable File

#!/usr/bin/env node
const path = require('path');
const shelljs = require('shelljs');
const pathname = path.join(process.cwd(), './dist');
shelljs.rm('-rf', pathname);
shelljs.mkdir('-p', pathname);