Add support for phive

This commit is contained in:
Shivam Mathur
2020-01-21 01:40:24 +05:30
parent 5108c81610
commit 9d6b61c5af
6 changed files with 103 additions and 3 deletions

View File

@ -67,6 +67,11 @@ add_tool() {
add_log "$cross" "$tool" "Could not setup $tool"
fi
fi
if [ "$tool" = "phive" ]; then
add_extension curl >/dev/null 2>&1
add_extension mbstring >/dev/null 2>&1
add_extension xml >/dev/null 2>&1
fi
}
add_composer_tool() {

View File

@ -83,6 +83,11 @@ add_tool() {
if [ "$tool" = "composer" ]; then
composer -q global config process-timeout 0
fi
if [ "$tool" = "phive" ]; then
add_extension curl >/dev/null 2>&1
add_extension mbstring >/dev/null 2>&1
add_extension xml >/dev/null 2>&1
fi
}
add_composer_tool() {

View File

@ -115,6 +115,11 @@ Function Add-Tool() {
Add-Log $cross $tool "Could not add $tool"
}
}
if($tool -eq "phive") {
Add-Extension curl >$null 2>&1
Add-Extension mbstring >$null 2>&1
Add-Extension xml >$null 2>&1
}
}
Function Add-Composer-Tool() {