|
@@ -437,7 +437,6 @@ function clear_deploy(cb){
|
|
|
---------------------------------------------------------------------`);
|
|
---------------------------------------------------------------------`);
|
|
|
var dest = ["target/o2server/store/", "target/o2server/commons/", "target/o2server/jvm/", "target/o2server/configSample/", "target/o2server/localSample/", "target/o2server/servers/"];
|
|
var dest = ["target/o2server/store/", "target/o2server/commons/", "target/o2server/jvm/", "target/o2server/configSample/", "target/o2server/localSample/", "target/o2server/servers/"];
|
|
|
dest = dest.concat(["target/o2server/*.sh", "target/o2server/*.jar", "target/o2server/*.html", "target/o2server/*.bat", "target/o2server/version.o2"]);
|
|
dest = dest.concat(["target/o2server/*.sh", "target/o2server/*.jar", "target/o2server/*.html", "target/o2server/*.bat", "target/o2server/version.o2"]);
|
|
|
- console.log(dest)
|
|
|
|
|
del(dest, { force: true });
|
|
del(dest, { force: true });
|
|
|
cb();
|
|
cb();
|
|
|
}
|
|
}
|
|
@@ -445,6 +444,7 @@ exports.clear_build = clear_build;
|
|
|
exports.clear_deploy = clear_deploy;
|
|
exports.clear_deploy = clear_deploy;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
function deploy_server(){
|
|
function deploy_server(){
|
|
|
console.log(`---------------------------------------------------------------------
|
|
console.log(`---------------------------------------------------------------------
|
|
|
. deploy to target ...
|
|
. deploy to target ...
|