mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Add required extensions for box
This commit is contained in:
parent
f60e7de98e
commit
29a9813921
@ -85,7 +85,9 @@ Function Add-ToolsHelper() {
|
|||||||
$tool
|
$tool
|
||||||
)
|
)
|
||||||
$extensions = @();
|
$extensions = @();
|
||||||
if($tool -eq "codeception") {
|
if($tool -eq "box") {
|
||||||
|
$extensions += @('iconv', 'mbstring', 'phar', 'sodium')
|
||||||
|
} elseif($tool -eq "codeception") {
|
||||||
$extensions += @('json', 'mbstring')
|
$extensions += @('json', 'mbstring')
|
||||||
Copy-Item $env:codeception_bin\codecept.bat -Destination $env:codeception_bin\codeception.bat
|
Copy-Item $env:codeception_bin\codecept.bat -Destination $env:codeception_bin\codeception.bat
|
||||||
} elseif($tool -eq "composer") {
|
} elseif($tool -eq "composer") {
|
||||||
|
@ -74,6 +74,8 @@ add_tools_helper() {
|
|||||||
extensions=()
|
extensions=()
|
||||||
if [ "$tool" = "blackfire-player" ]; then
|
if [ "$tool" = "blackfire-player" ]; then
|
||||||
extensions+=(uuid)
|
extensions+=(uuid)
|
||||||
|
elif [ "$tool" = "box" ]; then
|
||||||
|
extensions+=(iconv mbstring phar sodium)
|
||||||
elif [ "$tool" = "codeception" ]; then
|
elif [ "$tool" = "codeception" ]; then
|
||||||
extensions+=(json mbstring)
|
extensions+=(json mbstring)
|
||||||
sudo ln -s "$scoped_dir"/vendor/bin/codecept "$scoped_dir"/vendor/bin/codeception
|
sudo ln -s "$scoped_dir"/vendor/bin/codecept "$scoped_dir"/vendor/bin/codeception
|
||||||
|
Loading…
Reference in New Issue
Block a user