浏览代码

[build-subsets.sh] transitioned to use of pipenv virtualenv installs of pinned Python build dependency versions for builds

Chris Simpkins 7 年之前
父节点
当前提交
bda185c80d
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      build-subsets.sh

+ 6 - 6
build-subsets.sh

@@ -185,21 +185,21 @@ fi
 
 
 # build regular subset
 # build regular subset
 
 
-if ! fontmake --subset -u "$TEMP_SOURCE/Hack-Regular.ufo" -o ttf
+if ! pipenv run fontmake --subset -u "$TEMP_SOURCE/Hack-Regular.ufo" -o ttf
 	then
 	then
 	    echo "Unable to build the Hack-Regular variant subset.  Build canceled." 1>&2
 	    echo "Unable to build the Hack-Regular variant subset.  Build canceled." 1>&2
 	    exit 1
 	    exit 1
 fi
 fi
 
 
 # build bold subset
 # build bold subset
-if ! fontmake --subset -u "$TEMP_SOURCE/Hack-Bold.ufo" -o ttf
+if ! pipenv run fontmake --subset -u "$TEMP_SOURCE/Hack-Bold.ufo" -o ttf
 	then
 	then
 	    echo "Unable to build the Hack-Bold variant subset.  Build canceled." 1>&2
 	    echo "Unable to build the Hack-Bold variant subset.  Build canceled." 1>&2
 	    exit 1
 	    exit 1
 fi
 fi
 
 
 # build italic subset
 # build italic subset
-if ! fontmake --subset -u "$TEMP_SOURCE/Hack-Italic.ufo" -o ttf
+if ! pipenv run fontmake --subset -u "$TEMP_SOURCE/Hack-Italic.ufo" -o ttf
 	then
 	then
 	    echo "Unable to build the Hack-Italic variant subset.  Build canceled." 1>&2
 	    echo "Unable to build the Hack-Italic variant subset.  Build canceled." 1>&2
 	    exit 1
 	    exit 1
@@ -207,7 +207,7 @@ fi
 
 
 # build bold italic subset
 # build bold italic subset
 
 
-if ! fontmake --subset -u "$TEMP_SOURCE/Hack-BoldItalic.ufo" -o ttf
+if ! pipenv run fontmake --subset -u "$TEMP_SOURCE/Hack-BoldItalic.ufo" -o ttf
 	then
 	then
 	    echo "Unable to build the Hack-BoldItalic variant subset.  Build canceled." 1>&2
 	    echo "Unable to build the Hack-BoldItalic variant subset.  Build canceled." 1>&2
 	    exit 1
 	    exit 1
@@ -226,7 +226,7 @@ fi
 echo " "
 echo " "
 echo "Attempting DSIG table fixes with fontbakery..."
 echo "Attempting DSIG table fixes with fontbakery..."
 echo " "
 echo " "
-if ! python postbuild_processing/fixes/fix-dsig.py master_ttf/*.ttf
+if ! pipenv run python postbuild_processing/fixes/fix-dsig.py master_ttf/*.ttf
 	then
 	then
 	    echo "Unable to complete DSIG table fixes on the release files"
 	    echo "Unable to complete DSIG table fixes on the release files"
 	    exit 1
 	    exit 1
@@ -236,7 +236,7 @@ fi
 echo " "
 echo " "
 echo "Attempting fstype fixes with fontbakery..."
 echo "Attempting fstype fixes with fontbakery..."
 echo " "
 echo " "
-if ! python postbuild_processing/fixes/fix-fstype.py master_ttf/*.ttf
+if ! pipenv run python postbuild_processing/fixes/fix-fstype.py master_ttf/*.ttf
 	then
 	then
 	    echo "Unable to complete fstype fixes on the release files"
 	    echo "Unable to complete fstype fixes on the release files"
 	    exit 1
 	    exit 1