Client build scripts fixes and server stub with local devzone.
All checks were successful
Linting and tests / Linting (push) Successful in 6s

This commit is contained in:
2025-09-13 18:13:50 +05:00
parent 1bf8a5b124
commit 3cfc74affa
21 changed files with 578 additions and 23 deletions

View File

@@ -16,7 +16,7 @@ tasks:
cmds:
- task: ::ensure-builddir
- task: cleanup
- fyne build --release -o ../../../.build/{{ .ClientBinary }} --pprof --pprof-port 6060 {{ .MetadataParams }}
- fyne build --release -o ../../../_build/{{ .ClientBinary }} --pprof --pprof-port 6060 {{ .MetadataParams }}
build-debug:
desc: "Build client in debug mode."
@@ -25,7 +25,7 @@ tasks:
cmds:
- task: ::ensure-builddir
- task: cleanup
- fyne build -o ../../../.build/{{ .ClientBinary }} --tags debug {{ .MetadataParams }}
- fyne build -o ../../../_build/{{ .ClientBinary }} --tags debug {{ .MetadataParams }}
# build-production:
# desc: "Build production package for current OS."
@@ -92,7 +92,7 @@ tasks:
cleanup:
desc: "Cleanup build environment."
cmds:
- rm .build/{{ .ClientBinary }}
- rm _build/{{ .ClientBinary }}
ignore_error: true
ensure-dist-dir:
@@ -105,10 +105,10 @@ tasks:
desc: "Launch client."
cmds:
- task: build
- .build/{{ .ClientBinary }}
- _build/{{ .ClientBinary }}
run-debug:
desc: "Launch client in debug mode."
cmds:
- task: build-debug
- .build/{{ .ClientBinary }}
- _build/{{ .ClientBinary }}

View File

@@ -23,7 +23,7 @@ func main() {
lgr := app.NewLogger("module", "main")
lgr.Info(
"Starting Bunker...",
"Starting Bunker client...",
"version", app.Fyne().Metadata().Custom["Version"],
"build_no", app.Fyne().Metadata().Custom["Build"],
"commit", app.Fyne().Metadata().Custom["Commit"],