g6/bin/cp-dist.js

8 lines
213 B
JavaScript
Raw Normal View History

2018-06-05 23:58:10 +08:00
#!/usr/bin/env node
const path = require('path');
const shelljs = require('shelljs');
const src = path.join(process.cwd(), './build/*.js');
const dist = path.join(process.cwd(), './dist');
shelljs.cp(src, dist);