xiongzhu 4 tahun lalu
induk
melakukan
d640b2c203
1 mengubah file dengan 16 tambahan dan 0 penghapusan
  1. 16 0
      gulpfile.js

+ 16 - 0
gulpfile.js

@@ -1559,6 +1559,22 @@ function make_def_config(cb) {
         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();
 }
 exports.make_def_config = gulp.series(make_def_config);