added cp
This commit is contained in:
parent
afad7c360f
commit
0d1c14ecdd
|
@ -582,3 +582,7 @@ be used on all platforms to remove single and multiple files and directories.
|
||||||
...
|
...
|
||||||
'action' : ['<(rm)', '-rf', '<@(rem)'],
|
'action' : ['<(rm)', '-rf', '<@(rem)'],
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### cp
|
||||||
|
|
||||||
|
For Windows the `/y` flag was embedded.
|
||||||
|
|
1
index.js
1
index.js
|
@ -51,5 +51,6 @@ module.exports = {
|
||||||
|
|
||||||
mkdir : process.platform === 'win32' ? `"${thisDir}/mkdir.bat"` : 'mkdir',
|
mkdir : process.platform === 'win32' ? `"${thisDir}/mkdir.bat"` : 'mkdir',
|
||||||
rm : process.platform === 'win32' ? `"${thisDir}/rm.bat"` : 'rm',
|
rm : process.platform === 'win32' ? `"${thisDir}/rm.bat"` : 'rm',
|
||||||
|
cp : process.platform === 'win32' ? `"${thisDir}/cp.bat"` : 'cp',
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue