mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-26 00:29:08 +07:00
Add support for debug builds
This commit is contained in:
@ -173,6 +173,7 @@ add_php() {
|
||||
existing_version=$2
|
||||
add_brew_tap "$php_tap"
|
||||
update_dependencies
|
||||
[ "${debug:?}" = "debug" ] && php_formula="$php_formula-debug"
|
||||
if [ "$existing_version" != "false" ]; then
|
||||
([ "$action" = "upgrade" ] && brew upgrade -f "$php_formula") || brew unlink "$php_formula"
|
||||
else
|
||||
|
Reference in New Issue
Block a user