fix(builds): added in the gets/installs for our go project and node portons
This commit is contained in:
@@ -94,6 +94,7 @@ function Update-BuildNumber {
|
||||
|
||||
Push-Location $rootDir/backend
|
||||
Write-Host "Building the app"
|
||||
go get
|
||||
go build -ldflags "-X main.version=$($version)-$($initialBuildValue)" -o lst_backend.exe ./main.go
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Warning "Backend build failed!"
|
||||
@@ -107,6 +108,7 @@ function Update-BuildNumber {
|
||||
|
||||
Push-Location $rootDir/frontend
|
||||
Write-Host "Building the frontend."
|
||||
npm i
|
||||
npm run build
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
@@ -126,6 +128,7 @@ function Update-BuildNumber {
|
||||
|
||||
Write-Host "Building Docs"
|
||||
Push-Location $rootDir/lst-docs
|
||||
npm i
|
||||
npm run build
|
||||
|
||||
Pop-Location
|
||||
|
||||
Reference in New Issue
Block a user