1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 01:14:39 +01:00
MadelineProto/tests/test.sh
2023-09-01 15:04:04 +02:00

13 lines
350 B
Bash
Executable File

#!/bin/bash -ex
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
apk add procps git unzip github-cli openssh
composer update
composer build
if [ "$(git diff)" != "" ]; then echo "Please run composer build!"; exit 1; fi