Payroll Robot Build Update

This commit is contained in:
Hüseyin
2026-07-22 09:05:29 +03:00
parent 96f18797f8
commit 6d9125234c
5 changed files with 9 additions and 8 deletions

View File

@@ -34,7 +34,7 @@ tasks:
cmds:
- go build {{.BUILD_FLAGS}} -o {{.BIN_DIR}}/bordro-robotu.exe
vars:
BUILD_FLAGS: '{{if eq .PRODUCTION "true"}}-tags production -ldflags="-w -s -H windowsgui"{{else}}-gcflags=all="-N -l"{{end}}'
BUILD_FLAGS: '{{if eq .PRODUCTION "true"}}-tags production -ldflags="-w -s -H windowsgui"{{else}}{{end}}'
env:
GOOS: windows
CGO_ENABLED: 0