Place the full command to "cmd" package

This changed some variables access and the Makefile to build from
"./cmd" direcoty.
This commit is contained in:
2022-03-28 11:43:17 +02:00
parent e41d7b0c29
commit daf8907f14
6 changed files with 279 additions and 280 deletions

View File

@@ -5,7 +5,7 @@ CTN:=$(shell which podman 2>&1 1>/dev/null && echo "podman" || echo "docker")
PREFIX=~/.local
GO=container
BLD_CMD=go build -o katenary -ldflags="-X 'main.Version=$(VERSION)'" .
BLD_CMD=go build -o katenary -ldflags="-X 'main.Version=$(VERSION)'" ./cmd/*.go
GOOS=linux
GOARCH=amd64