adding data-services
This commit is contained in:
parent
e3bfd05b90
commit
405b818c86
139 changed files with 55943 additions and 416 deletions
28
scripts/build-libs.ps1
Normal file
28
scripts/build-libs.ps1
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Build and install the new libraries
|
||||
|
||||
Write-Host "Building and installing new libraries..." -ForegroundColor Cyan
|
||||
|
||||
# Build order is important due to dependencies
|
||||
$libs = @(
|
||||
"shared-types",
|
||||
"utils",
|
||||
"event-bus",
|
||||
"api-client"
|
||||
)
|
||||
|
||||
# Build each library in order
|
||||
foreach ($lib in $libs) {
|
||||
$libPath = "g:\repos\stock-bot\libs\$lib"
|
||||
|
||||
Write-Host "Building $lib..." -ForegroundColor Green
|
||||
Set-Location $libPath
|
||||
bun run build
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "Failed to build $lib. Exiting." -ForegroundColor Red
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
Write-Host "All libraries built successfully!" -ForegroundColor Green
|
||||
Set-Location g:\repos\stock-bot
|
||||
Loading…
Add table
Add a link
Reference in a new issue