mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
fix(devcontainer): try adjusting scripts/setup for xdebug VSCode extension
This commit is contained in:
@@ -5,7 +5,7 @@ export PATH="$PATH:$PWD/vendor/bin"
|
|||||||
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc
|
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc
|
||||||
echo 'export PATH="$PATH:$PWD/vendor/bin"' >> ~/.bashrc
|
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 --optimize-autoloader
|
||||||
|
|
||||||
# for PHP unit testing
|
# for PHP unit testing
|
||||||
composer require --global google/cloud-storage
|
composer require --global google/cloud-storage
|
||||||
|
|||||||
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@@ -1,5 +1,9 @@
|
|||||||
{
|
{
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"**/cfg/conf*.php": "ini"
|
"**/cfg/conf*.php": "ini"
|
||||||
}
|
},
|
||||||
|
"phpunit.phpunit": "${workspaceFolder}/vendor/bin/phpunit",
|
||||||
|
"phpunit.args": [
|
||||||
|
"--configuration '${workspaceFolder}/tst/phpunit.xml'"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user