In Tiltfile, create the output directory before go build
.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
24c654120c
commit
fbd3bb48d2
@ -10,7 +10,7 @@ os.putenv('CGO_ENABLED', '0')
|
||||
# Compile all of our ./cmd/... binaries.
|
||||
local_resource(
|
||||
'compile',
|
||||
'cd ../../../ && go build -v -ldflags "$(hack/get-ldflags.sh)" -o ./hack/lib/tilt/build ./cmd/...',
|
||||
'cd ../../../ && mkdir -p ./hack/lib/tilt/build && go build -v -ldflags "$(hack/get-ldflags.sh)" -o ./hack/lib/tilt/build ./cmd/...',
|
||||
deps=['../../../cmd', '../../../internal', '../../../pkg', '../../../generated'],
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user