From 0a398d73f0f1d5fbd1c7f593fd492aa1f6424797 Mon Sep 17 00:00:00 2001 From: rugk Date: Wed, 3 Sep 2025 12:57:55 +0000 Subject: [PATCH] chore(codespace): install stuff for PHP unit testing --- .devcontainer/postCreateCommand.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh index e5d4c14e..309dc239 100755 --- a/.devcontainer/postCreateCommand.sh +++ b/.devcontainer/postCreateCommand.sh @@ -7,6 +7,10 @@ echo 'export PATH="$PATH:$PWD/vendor/bin"' >> ~/.bashrc ln -s ./conf.sample.php cfg/conf.php composer install --no-dev --optimize-autoloader +# for PHP unit testing +composer require google/cloud-storage +composer install --optimize-autoloader + sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html npm install --global nyc