浏览代码

remove build dependency install test checks with 'which'

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

+ 23 - 23
build.sh

@@ -54,29 +54,29 @@ if [ "$1" = "--install-dependencies" ]
 		# confirm executable installs and library imports
 		# confirm executable installs and library imports
 		installflag=0
 		installflag=0
         # fontmake installed
         # fontmake installed
-		if ! which fontmake
-			then
-			    echo "Unable to install fontmake with 'pip install fontmake'.  Please attempt manual install and repeat build without the --install-dependencies flag." 1>&2
-			    installflag=1
-		fi
-        # fontTools python library can be imported
-		if ! python -c "import fontTools"
-			then
-			    echo "Unable to install fontTools with 'pip install fonttools'.  Please attempt manual install and repeat build without the --install-dependencies flag." 1>&2
-			    installflag=1
-		fi
-        # ttfautohint installed
-		if ! which ttfautohint
-			then
-			    echo "Unable to install ttfautohint from source.  Please attempt manual install and repeat build without the --install-dependencies flag." 1>&2
-			    installflag=1
-		fi
-		# if any of the dependency installs failed, exit and do not attempt build, notify user
-		if [ $installflag -eq 1 ]
-			then
-			    echo "Build canceled." 1>&2
-			    exit 1
-        fi
+		# if ! which fontmake
+		# 	then
+		# 	    echo "Unable to install fontmake with 'pip install fontmake'.  Please attempt manual install and repeat build without the --install-dependencies flag." 1>&2
+		# 	    installflag=1
+		# fi
+  #       # fontTools python library can be imported
+		# if ! python -c "import fontTools"
+		# 	then
+		# 	    echo "Unable to install fontTools with 'pip install fonttools'.  Please attempt manual install and repeat build without the --install-dependencies flag." 1>&2
+		# 	    installflag=1
+		# fi
+  #       # ttfautohint installed
+		# if ! which ttfautohint
+		# 	then
+		# 	    echo "Unable to install ttfautohint from source.  Please attempt manual install and repeat build without the --install-dependencies flag." 1>&2
+		# 	    installflag=1
+		# fi
+		# # if any of the dependency installs failed, exit and do not attempt build, notify user
+		# if [ $installflag -eq 1 ]
+		# 	then
+		# 	    echo "Build canceled." 1>&2
+		# 	    exit 1
+  #       fi
 fi
 fi
 
 
 # Desktop ttf font build
 # Desktop ttf font build