1 parent c04a198 commit 07f7da8Copy full SHA for 07f7da8
2 files changed
devenv/air.core.toml
@@ -8,7 +8,7 @@ tmp_dir = "tmp"
8
[build]
9
# Fast build by default. Set DEBUG=true to enable Delve step-through debugging:
10
# docker compose exec core env DEBUG=true air -c devenv/air.core.toml
11
- cmd = "cd src && CGO_ENABLED=0 GOMODCACHE=/go/pkg/mod /usr/local/go/bin/go build ${DEBUG:+-gcflags=all='-N -l'} -trimpath -o ../tmp/core ./core/main.go"
+ cmd = "cd src && CGO_ENABLED=0 GOMODCACHE=/go/pkg/mod /usr/local/go/bin/go build ${DEBUG:+-gcflags=all='-N -l'} -trimpath -o ../tmp/core ./core/"
12
13
bin = "tmp/core"
14
args_bin = []
taskfile/build.yml
@@ -77,7 +77,7 @@ tasks:
77
- task: _go-build
78
vars:
79
PLATFORM: '{{index .MATCH 0}}'
80
- MAIN_PATH: ./core/main.go
+ MAIN_PATH: ./core/
81
OUTPUT_NAME: core
82
83
binary:jobservice:*:
0 commit comments