1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 17:04:39 +01:00

Account for shared workspace

This commit is contained in:
Daniil Gentili 2023-11-30 19:38:26 +01:00
parent fd9dc60d24
commit 07031decd7
2 changed files with 19 additions and 9 deletions

View File

@ -4,13 +4,4 @@ set -ex
export COMPOSER_PROCESS_TIMEOUT=100000
apk add procps git unzip github-cli openssh
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/local/bin/composer
php tests/jit.php
composer update

View File

@ -4,6 +4,19 @@ set -ex
export COMPOSER_PROCESS_TIMEOUT=100000
apk add procps git unzip github-cli openssh
cd /tmp
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
mv composer.phar /usr/local/bin/composer
cd $OLDPWD
php tests/jit.php
php tests/lock_setup.php
if [ "$1" == "cs" ]; then
@ -25,6 +38,12 @@ if [ "$1" == "cs" ]; then
exit 0
fi
if [ "$1" == "psalm" ]; then
composer psalm
exit 0
fi
if [ "$1" == "handshake" ]; then
php tests/handshake.php
exit 0