Skip to content

Commit

Permalink
Add required extensions for box
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Nov 1, 2023
1 parent f60e7de commit 29a9813
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scripts/tools/add_tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/tools/add_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29a9813

Please sign in to comment.