Skip to content

Commit

Permalink
[build-subsets.sh, build-ttf.sh] added SOURCE_DATE_EPOCH calcs from g…
Browse files Browse the repository at this point in the history
…it commit date/time

to support reproducible builds
  • Loading branch information
chrissimpkins committed Jun 13, 2018
1 parent 06742df commit 5681045
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-subsets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions build-ttf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5681045

Please sign in to comment.