完善多赛道联调与全局产品架构
This commit is contained in:
@@ -46,4 +46,15 @@ if ($workbenchAddr.StartsWith(":")) {
|
||||
Write-Host ("http://" + $workbenchAddr + "/dev/workbench")
|
||||
Write-Host ""
|
||||
|
||||
go run .\cmd\api
|
||||
$exePath = Join-Path $backendDir "cmr-backend.exe"
|
||||
|
||||
Write-Host "Build:" -ForegroundColor Yellow
|
||||
Write-Host $exePath
|
||||
Write-Host ""
|
||||
|
||||
go build -o $exePath .\cmd\api
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "go build failed"
|
||||
}
|
||||
|
||||
& $exePath
|
||||
|
||||
Reference in New Issue
Block a user