Add make build target

Signed-off-by: Theo Brigitte <theo.brigitte@gmail.com>
This commit is contained in:
Theo Brigitte 2025-12-01 10:43:25 +01:00
parent 75454fc612
commit ac763d8595
No known key found for this signature in database
GPG key ID: 62A81E0F3445587C

View file

@ -6,7 +6,9 @@ LD_PKG = $(shell go list ./internal/version)
LD_FLAGS = -s -w -extldflags -static -X ${LD_PKG}.Version=${VERSION}
BUILD_CMD = CGO_ENABLED=0 go build
all:
all: build
build:
${BUILD_CMD} -ldflags "${LD_FLAGS}" -o ovhcloud ./cmd/ovhcloud
wasm: