lockbox

password manager
Log | Files | Refs | README | LICENSE

commit 9c208b559f1606b3d5568f249ccd5e2faaee14ec
parent dd1181ff00af41c74f04ca36828eb542bd4a09a1
Author: Sean Enck <sean@ttypty.com>
Date:   Wed, 24 Apr 2024 23:00:37 +0000

cleanup unnecessary variables

Diffstat:
MMakefile | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,9 +5,6 @@ VERSION ?= $(shell git log -n 1 --format=%h) VARS := LOCKBOX_ENV=none DESTDIR := /usr/local/bin GOFLAGS := -trimpath -buildmode=pie -mod=readonly -modcacherw -buildvcs=false -LDFLAGS := -GOOS := -GOARCH := all: $(TARGET) @@ -17,7 +14,7 @@ $(TARGET): cmd/main.go internal/**/*.go go.* internal/app/doc/* ifeq ($(VERSION),) $(error version not set) endif - GOOS=$(GOOS) GOARCH=$(GOARCH) go build $(GOFLAGS) -ldflags "$(LDFLAGS) -X main.version=$(VERSION)" -o $@ cmd/main.go + go build $(GOFLAGS) -ldflags "$(LDFLAGS) -X main.version=$(VERSION)" -o $@ cmd/main.go unittests: $(VARS) go test ./...