summaryrefslogtreecommitdiff
path: root/internal/files/bin
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2016-07-30 17:30:11 -0400
committerKurt <kurt.w.jung@gmail.com>2016-07-30 17:30:11 -0400
commit80eb3e2a5ac1dddbbf7bd76e8065298f5257f122 (patch)
treec371e6e98088dfd2a85fcf2ba7cbfef7631cc79a /internal/files/bin
parent700f7107d58a0e933260982522cfceb7648101ac (diff)
Fix some glitches reported by goreportcard.com
Diffstat (limited to 'internal/files/bin')
-rw-r--r--internal/files/bin/Makefile4
1 files changed, 3 insertions, 1 deletions
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