xiongzhu 4 年之前
父節點
當前提交
d640b2c203
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      gulpfile.js

+ 16 - 0
gulpfile.js

@@ -1559,6 +1559,22 @@ function make_def_config(cb) {
         JSON.stringify(externalDataSources, null, 4)
         JSON.stringify(externalDataSources, null, 4)
     );
     );
 
 
+    fs.readdirSync(path.resolve(__dirname, "jar")).forEach((child) => {
+        if (/^.+\.jar$/i.test(child)) {
+            fs.copyFileSync(
+                path.resolve(__dirname, "jar", child),
+                path.resolve(
+                    __dirname,
+                    "target",
+                    "o2server",
+                    "commons",
+                    "ext",
+                    child
+                )
+            );
+        }
+    });
+
     cb();
     cb();
 }
 }
 exports.make_def_config = gulp.series(make_def_config);
 exports.make_def_config = gulp.series(make_def_config);