[build-subsets.sh, build-ttf.sh] added SOURCE_DATE_EPOCH calcs from git commit date/time

to support reproducible builds
pull/441/head
Chris Simpkins 2018-06-13 16:33:34 +07:00
parent 06742dfe35
commit 5681045fa2
2 changed files with 7 additions and 0 deletions

@ -14,6 +14,9 @@
#
# //////////////////////////////////////////////////////////////////////
# set SOURCE_DATE_EPOCH to git commit date/time for reproducible builds
SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
# default build tooling definitions
TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint"
FONTMAKE="pipenv run fontmake"

@ -13,6 +13,9 @@
#
# /////////////////////////////////////////////////////////////////
# set SOURCE_DATE_EPOCH to git commit date/time for reproducible builds
SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD)
# default build tooling definitions
TTFAH="$HOME/ttfautohint-build/local/bin/ttfautohint"
FONTMAKE="pipenv run fontmake"
@ -137,6 +140,7 @@ if ! $FONTMAKE -u "source/Hack-BoldItalic.ufo" -o ttf
exit 1
fi
# Desktop ttf font post build fixes
# DSIG table fix with adapted fontbakery Python script