From 80eb3e2a5ac1dddbbf7bd76e8065298f5257f122 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 30 Jul 2016 17:30:11 -0400 Subject: Fix some glitches reported by goreportcard.com --- internal/files/bin/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/files/bin/Makefile') diff --git a/internal/files/bin/Makefile b/internal/files/bin/Makefile index 64b9a77..3aff64c 100644 --- a/internal/files/bin/Makefile +++ b/internal/files/bin/Makefile @@ -5,14 +5,16 @@ Z= ../../../font/calligra.z ${TRG} : ${JSON} ${Z} ./bin echo "package files" > ${TRG} echo "" >> ${TRG} + echo "// CalligraJson is embedded byte slice for calligra.json" >> ${TRG} echo "var CalligraJson = []byte{" >> ${TRG} ./bin < ${JSON} >> ${TRG} echo "}" >> ${TRG} echo "" >> ${TRG} + echo "// CalligraZ is embedded byte slice for calligra.z" >> ${TRG} echo "var CalligraZ = []byte{" >> ${TRG} ./bin < ${Z} >> ${TRG} echo "}" >> ${TRG} - gofmt -w ${TRG} + gofmt -s -w ${TRG} ./bin : bin.go go build -v -- cgit v1.2.1-24-ge1ad