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