fix(builds): added in the gets/installs for our go project and node portons
This commit is contained in:
@@ -2,7 +2,10 @@ module lst.net
|
||||
|
||||
go 1.24.3
|
||||
|
||||
require github.com/gin-gonic/gin v1.10.1
|
||||
require (
|
||||
github.com/gin-gonic/gin v1.10.1
|
||||
github.com/joho/godotenv v1.5.1
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/bytedance/sonic v1.11.6 // indirect
|
||||
@@ -15,7 +18,6 @@ require (
|
||||
github.com/go-playground/universal-translator v0.18.1 // indirect
|
||||
github.com/go-playground/validator/v10 v10.20.0 // indirect
|
||||
github.com/goccy/go-json v0.10.2 // indirect
|
||||
github.com/joho/godotenv v1.5.1 // indirect
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
|
||||
github.com/leodido/go-urn v1.4.0 // indirect
|
||||
|
||||
34940
lst-docs/package-lock.json
generated
34940
lst-docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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