@winner-fed/winner-deploy 3.1.5 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/genWebPackage.js
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
# 拷贝前端工程文件到运行目录
|
|
5
5
|
if [ "{{type}}" = "subsystem" ]; then
|
|
6
6
|
# 子系统执行逻辑
|
|
7
|
-
#
|
|
8
|
-
ls -I tmp | xargs
|
|
7
|
+
# 程序执行的当前路径,删除 ${workspace}/{{name}},然后将 tmp/source 的所有文件及文件夹都拷贝到 workspace 目录下
|
|
8
|
+
# ls -I tmp | xargs
|
|
9
|
+
rm -rf ${workspace}/{{name}}
|
|
9
10
|
\cp -rf tmp/source/* ${workspace}/
|
|
10
11
|
else
|
|
11
12
|
# 主系统执行逻辑
|