2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-06-23 22:02:25 +00:00

d2vm: add version command, lookup mbr.bin in well-known paths

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2022-04-21 21:15:39 +02:00
parent a21fb68b7b
commit 1a97b45861
7 changed files with 63 additions and 6 deletions

View File

@ -38,3 +38,6 @@ docker-run:
-v $(PWD):/build \
-w /build \
$(DOCKER_IMAGE) bash
build:
@go build -o d2vm -ldflags "-s -w -X '$(MODULE).Version=$(VERSION)' -X '$(MODULE).BuildDate=$(shell date)'" ./cmd/d2vm