From 9f9024674e275a5205621f08250d78daf45c3c2c Mon Sep 17 00:00:00 2001 From: "Bora M. Alper" Date: Fri, 27 Nov 2020 20:03:56 +0000 Subject: [PATCH] fix makefile go-bindata usage see #204 (commit got lost?) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c1bf77d..9278e34 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ magneticod: magneticow: # TODO: minify files! # https://github.com/kevinburke/go-bindata - go-bindata -o="cmd/magneticow/bindata.go" -prefix="cmd/magneticow/data/" cmd/magneticow/data/... + go-bindata -pkg "main" -o="cmd/magneticow/bindata.go" -prefix="cmd/magneticow/data/" cmd/magneticow/data/... # Prepend the linter instruction to the beginning of the file sed -i '1s;^;//lint:file-ignore * Ignore file altogether\n;' cmd/magneticow/bindata.go go install --tags fts5 "-ldflags=-s -w -X main.compiledOn=`date -u +%Y-%m-%dT%H:%M:%SZ`" ./cmd/magneticow