diff options
Diffstat (limited to 'internal/files/bin')
-rw-r--r-- | internal/files/bin/Makefile | 4 |
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 |