【发布时间】:2019-02-18 04:10:07
【问题描述】:
我有下面的结构存储库:
src
-common
- asd.ts
- filter.ts
-checking
-hi.json
-third-party
-src
-common
-hello.ts
-two.ts
-three.ts
在这里,我想将文件从 third-party/src/common 移动到 src/common 但我必须排除 three.ts文件。
我已经像下面这样移动了所有文件:
gulp.task('common-update', function (done) {
shelljs.cp('-rf', './third-party/angularSB/src/app/common/*', './src/app/common/');
done();
});
【问题讨论】:
标签: typescript gulp shelljs