From 1adb67f99e38349a8d209554d0527b3bdcd0ac9d Mon Sep 17 00:00:00 2001 From: Ethan Nelson Date: Sun, 7 May 2023 12:07:16 -0500 Subject: [PATCH] Update build step in Makefile This reflects changes to the run step by including other required build files and removing the deprecated `-i` flag --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3abae14..d6e9c1a 100644 --- a/Makefile +++ b/Makefile @@ -28,4 +28,4 @@ package: build tar -cvzf $(PACKAGE_RPI).tar.gz -C $(BUILD_DIR) $(PACKAGE_RPI) build: build-fs - GOOS=linux GOARCH=arm GOARM=6 $(GOBUILD) -o $(BUILD_DIR)/$(PACKAGE_RPI)/usr/bin/hkcam -i cmd/hkcam/main.go \ No newline at end of file + GOOS=linux GOARCH=arm GOARM=6 $(GOBUILD) -o $(BUILD_DIR)/$(PACKAGE_RPI)/usr/bin/hkcam -ldflags "-X main.Version=dev -X main.Date=$$(date +%FT%TZ%z)" cmd/hkcam/main.go cmd/hkcam/fs.go