🔧 Fix the build-base Makefile rule

This commit is contained in:
M. Mert Yildiran
2022-11-26 21:51:12 +03:00
parent cd9433ea3a
commit 5bd8aea8b9

View File

@@ -32,8 +32,8 @@ build-base: ## Build kubeshark CLI binary (select platform via GOOS / GOARCH env
-X 'github.com/kubeshark/kubeshark/kubeshark.BuildTimestamp=$(BUILD_TIMESTAMP)' \
-X 'github.com/kubeshark/kubeshark/kubeshark.Platform=$(SUFFIX)' \
-X 'github.com/kubeshark/kubeshark/kubeshark.Ver=$(VER)'" \
-o bin/kubeshark_$(SUFFIX) kubeshark.go
(cd bin && shasum -a 256 kubeshark_${SUFFIX} > kubeshark_${SUFFIX}.sha256)
-o bin/kubeshark_$(SUFFIX) kubeshark.go && \
cd bin && shasum -a 256 kubeshark_${SUFFIX} > kubeshark_${SUFFIX}.sha256
build-all: ## Build for all supported platforms.
echo "Compiling for every OS and Platform" && \