More changes. Fix build

pull/5/head
Paulo Truta 2021-03-04 12:48:25 +00:00
parent 0ed5297f6d
commit 812cf31dc4
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
PROJECT?=github.com/edgebox-iot/sysctl
PROJECT?=github.com/edgebox-iot/edgeboxctl
RELEASE ?= dev
COMMIT := $(shell git rev-parse --short HEAD)
@ -18,7 +18,7 @@ build:
-trimpath -ldflags "-s -w -X ${PROJECT}/internal/diagnostics.Version=${RELEASE} \
-X ${PROJECT}/internal/diagnostics.Commit=${COMMIT} \
-X ${PROJECT}/internal/diagnostics.BuildDate=${BUILD_DATE}" \
-o bin/sysctl-${GOOS}-${GOARCH} ${PROJECT}/cmd/edgeboxctl
-o bin/edgeboxctl-${GOOS}-${GOARCH} ${PROJECT}/cmd/edgeboxctl
cp ./bin/edgeboxctl-${GOOS}-${GOARCH} ./bin/edgeboxctl
clean: