Add required extensions for box

This commit is contained in:
Shivam Mathur 2023-11-01 10:23:55 +05:30
parent f60e7de98e
commit 29a9813921
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A
2 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,9 @@ Function Add-ToolsHelper() {
$tool
)
$extensions = @();
if($tool -eq "codeception") {
if($tool -eq "box") {
$extensions += @('iconv', 'mbstring', 'phar', 'sodium')
} elseif($tool -eq "codeception") {
$extensions += @('json', 'mbstring')
Copy-Item $env:codeception_bin\codecept.bat -Destination $env:codeception_bin\codeception.bat
} elseif($tool -eq "composer") {

View File

@ -74,6 +74,8 @@ add_tools_helper() {
extensions=()
if [ "$tool" = "blackfire-player" ]; then
extensions+=(uuid)
elif [ "$tool" = "box" ]; then
extensions+=(iconv mbstring phar sodium)
elif [ "$tool" = "codeception" ]; then
extensions+=(json mbstring)
sudo ln -s "$scoped_dir"/vendor/bin/codecept "$scoped_dir"/vendor/bin/codeception