完成JC-ArtList与JC-Salon端侧清理和统一命名
This commit is contained in:
+17
-17
@@ -1,4 +1,4 @@
|
||||
param(
|
||||
param(
|
||||
[switch]$SkipTests,
|
||||
[string]$MavenPath = ""
|
||||
)
|
||||
@@ -97,38 +97,38 @@ if ($SkipTests) {
|
||||
$mavenArgs += "-DskipTests"
|
||||
}
|
||||
|
||||
Write-Step "构建 FD-Core"
|
||||
Invoke-Native $maven $mavenArgs (Join-Path $repoRoot "FD-Core")
|
||||
Write-Step "构建 JC-ArtList-Core"
|
||||
Invoke-Native $maven $mavenArgs (Join-Path $repoRoot "JC-ArtList-Core")
|
||||
|
||||
Write-Step "构建 FD-Gateway"
|
||||
Invoke-Native $maven $mavenArgs (Join-Path $repoRoot "FD-Gateway")
|
||||
Write-Step "构建 JC-ArtList-Gateway"
|
||||
Invoke-Native $maven $mavenArgs (Join-Path $repoRoot "JC-ArtList-Gateway")
|
||||
|
||||
Write-Step "构建 FD-Frontend"
|
||||
$frontendRoot = Join-Path $repoRoot "FD-Frontend"
|
||||
Write-Step "构建 JC-ArtList-Frontend"
|
||||
$frontendRoot = Join-Path $repoRoot "JC-ArtList-Frontend"
|
||||
if (-not (Test-Path -LiteralPath (Join-Path $frontendRoot "node_modules"))) {
|
||||
Invoke-Native "npm" @("ci") $frontendRoot
|
||||
}
|
||||
Invoke-Native "npm" @("run", "build") $frontendRoot
|
||||
|
||||
$coreJar = Join-Path $repoRoot "FD-Core\target\FingertipDesigner-Core.jar"
|
||||
$gatewayJar = Join-Path $repoRoot "FD-Gateway\target\FingertipDesigner-Gateway.jar"
|
||||
$coreJar = Join-Path $repoRoot "JC-ArtList-Core\target\JC-ArtList-Core.jar"
|
||||
$gatewayJar = Join-Path $repoRoot "JC-ArtList-Gateway\target\JC-ArtList-Gateway.jar"
|
||||
$frontendDist = Join-Path $frontendRoot "dist"
|
||||
|
||||
Copy-RequiredFile $coreJar (Join-Path $backendDir "FingertipDesigner-Core.jar")
|
||||
Copy-RequiredFile $gatewayJar (Join-Path $backendDir "FingertipDesigner-Gateway.jar")
|
||||
Copy-RequiredFile $coreJar (Join-Path $backendDir "JC-ArtList-Core.jar")
|
||||
Copy-RequiredFile $gatewayJar (Join-Path $backendDir "JC-ArtList-Gateway.jar")
|
||||
Copy-Directory $frontendDist (Join-Path $frontendDir "dist")
|
||||
Copy-Directory (Join-Path $repoRoot "FD-WeChat-Fronted") (Join-Path $miniProgramDir "FD-WeChat-Fronted")
|
||||
Copy-Directory (Join-Path $repoRoot "FM-Wechat-Fronted") (Join-Path $miniProgramDir "FM-Wechat-Fronted")
|
||||
Copy-Directory (Join-Path $repoRoot "JC-ArtList-WeChat") (Join-Path $miniProgramDir "JC-ArtList-WeChat")
|
||||
Copy-Directory (Join-Path $repoRoot "JC-Salon-WeChat") (Join-Path $miniProgramDir "JC-Salon-WeChat")
|
||||
Copy-RequiredFile $sqlPath (Join-Path $releaseDir "FingertipDesigner.sql")
|
||||
|
||||
$manifest = @(
|
||||
"# FingertipDesigner Release $timestamp",
|
||||
"",
|
||||
"- backend/FingertipDesigner-Core.jar",
|
||||
"- backend/FingertipDesigner-Gateway.jar",
|
||||
"- backend/JC-ArtList-Core.jar",
|
||||
"- backend/JC-ArtList-Gateway.jar",
|
||||
"- frontend/dist",
|
||||
"- miniprograms/FD-WeChat-Fronted",
|
||||
"- miniprograms/FM-Wechat-Fronted",
|
||||
"- miniprograms/JC-ArtList-WeChat",
|
||||
"- miniprograms/JC-Salon-WeChat",
|
||||
"- FingertipDesigner.sql",
|
||||
"",
|
||||
"Nacos namespace: FingertipDesigner",
|
||||
|
||||
Reference in New Issue
Block a user