Switch MAX bridge to PyMax only
This commit is contained in:
@@ -23,14 +23,14 @@ if (Test-Path $staging) {
|
||||
}
|
||||
New-Item -ItemType Directory -Force -Path $staging | Out-Null
|
||||
|
||||
foreach ($item in @("server", "worker", "deploy", "Dockerfile.server", "QMax.slnx")) {
|
||||
foreach ($item in @("server", "pymax-worker", "deploy", "Dockerfile.server", "QMax.slnx")) {
|
||||
Copy-Item -LiteralPath (Join-Path $root $item) -Destination $staging -Recurse -Force
|
||||
}
|
||||
|
||||
foreach ($path in @(
|
||||
"server/QMax.Api/bin",
|
||||
"server/QMax.Api/obj",
|
||||
"worker/node_modules"
|
||||
"pymax-worker/src/__pycache__"
|
||||
)) {
|
||||
$target = Join-Path $staging $path
|
||||
if (Test-Path $target) {
|
||||
@@ -40,7 +40,7 @@ foreach ($path in @(
|
||||
|
||||
Push-Location $staging
|
||||
try {
|
||||
tar -czf $archive server worker deploy Dockerfile.server QMax.slnx
|
||||
tar -czf $archive server pymax-worker deploy Dockerfile.server QMax.slnx
|
||||
}
|
||||
finally {
|
||||
Pop-Location
|
||||
|
||||
Reference in New Issue
Block a user