From 40b1a5fc1bab0d468720f0a420ee93672d957458 Mon Sep 17 00:00:00 2001 From: Yasuharu Ozaki Date: Sun, 14 Nov 2021 00:28:45 +0900 Subject: [PATCH] Update build task --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 1f7ea5e..2fd9e48 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,6 @@ install: go install honnef.co/go/tools/cmd/staticcheck@2021.1.1 go mod download -.PHONY: build build: pkg/switchbot/**/*.go cmd/switchbot/**/*.go go.* go build -trimpath -ldflags "-s -w -X main.Version=${GIT_VER}" -o tmp/switchbot cmd/switchbot/main.go