chore(codespace): install stuff for PHP unit testing

This commit is contained in:
rugk 2025-09-03 12:57:55 +00:00
parent fae7e233f3
commit 0a398d73f0

View file

@ -7,6 +7,10 @@ echo 'export PATH="$PATH:$PWD/vendor/bin"' >> ~/.bashrc
ln -s ./conf.sample.php cfg/conf.php ln -s ./conf.sample.php cfg/conf.php
composer install --no-dev --optimize-autoloader 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 sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html
npm install --global nyc npm install --global nyc