mirror of
https://github.com/ovh/ovhcloud-cli.git
synced 2026-01-11 19:46:33 +00:00
Add make build target
Signed-off-by: Theo Brigitte <theo.brigitte@gmail.com>
This commit is contained in:
parent
75454fc612
commit
ac763d8595
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue