hyperf/.travis/requirement.install.sh

11 lines
166 B
Bash
Raw Normal View History

#!/usr/bin/env sh
SW_VER=$(php -r "echo SWOOLE_VERSION_ID;")
2022-08-06 18:11:53 +08:00
if [ $SW_VER -ge 50000 ]; then
composer require hyperf/engine:^2.0 --dev -W
fi
composer update -oW