Skip to content

Commit bda185c

Browse files
committed
[build-subsets.sh] transitioned to use of pipenv virtualenv installs of pinned Python build dependency versions for builds
1 parent 176a14a commit bda185c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build-subsets.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,29 +185,29 @@ fi
185185

186186
# build regular subset
187187

188-
if ! fontmake --subset -u "$TEMP_SOURCE/Hack-Regular.ufo" -o ttf
188+
if ! pipenv run fontmake --subset -u "$TEMP_SOURCE/Hack-Regular.ufo" -o ttf
189189
then
190190
echo "Unable to build the Hack-Regular variant subset. Build canceled." 1>&2
191191
exit 1
192192
fi
193193

194194
# build bold subset
195-
if ! fontmake --subset -u "$TEMP_SOURCE/Hack-Bold.ufo" -o ttf
195+
if ! pipenv run fontmake --subset -u "$TEMP_SOURCE/Hack-Bold.ufo" -o ttf
196196
then
197197
echo "Unable to build the Hack-Bold variant subset. Build canceled." 1>&2
198198
exit 1
199199
fi
200200

201201
# build italic subset
202-
if ! fontmake --subset -u "$TEMP_SOURCE/Hack-Italic.ufo" -o ttf
202+
if ! pipenv run fontmake --subset -u "$TEMP_SOURCE/Hack-Italic.ufo" -o ttf
203203
then
204204
echo "Unable to build the Hack-Italic variant subset. Build canceled." 1>&2
205205
exit 1
206206
fi
207207

208208
# build bold italic subset
209209

210-
if ! fontmake --subset -u "$TEMP_SOURCE/Hack-BoldItalic.ufo" -o ttf
210+
if ! pipenv run fontmake --subset -u "$TEMP_SOURCE/Hack-BoldItalic.ufo" -o ttf
211211
then
212212
echo "Unable to build the Hack-BoldItalic variant subset. Build canceled." 1>&2
213213
exit 1
@@ -226,7 +226,7 @@ fi
226226
echo " "
227227
echo "Attempting DSIG table fixes with fontbakery..."
228228
echo " "
229-
if ! python postbuild_processing/fixes/fix-dsig.py master_ttf/*.ttf
229+
if ! pipenv run python postbuild_processing/fixes/fix-dsig.py master_ttf/*.ttf
230230
then
231231
echo "Unable to complete DSIG table fixes on the release files"
232232
exit 1
@@ -236,7 +236,7 @@ fi
236236
echo " "
237237
echo "Attempting fstype fixes with fontbakery..."
238238
echo " "
239-
if ! python postbuild_processing/fixes/fix-fstype.py master_ttf/*.ttf
239+
if ! pipenv run python postbuild_processing/fixes/fix-fstype.py master_ttf/*.ttf
240240
then
241241
echo "Unable to complete fstype fixes on the release files"
242242
exit 1

0 commit comments

Comments
 (0)