xcbuild: move setup hook to xcbuildHook

Not every package that needs xcbuild will want to use its build phase.
I have moved the xcbuild setup hook to the new attribute xcbuildHook.
This means that dontUseXcbuild is no longer needed. If you just need
to call xcbuild on its own you can just refer to xcbuild.
This commit is contained in:
Matthew Bauer
2018-07-09 17:13:58 -04:00
parent 35b2c0edf2
commit 0534ceac81
19 changed files with 54 additions and 39 deletions
+3 -5
View File
@@ -19,11 +19,9 @@ xcbuildInstallPhase () {
runHook postInstall
}
if [ -z "$dontUseXcbuild" ]; then
buildPhase=xcbuildBuildPhase
if [ -z "$installPhase" ]; then
installPhase=xcbuildInstallPhase
fi
buildPhase=xcbuildBuildPhase
if [ -z "$installPhase" ]; then
installPhase=xcbuildInstallPhase
fi
# if [ -d "*.xcodeproj" ]; then