mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 20:58:13 +08:00
11 lines
166 B
Bash
Executable File
11 lines
166 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
SW_VER=$(php -r "echo SWOOLE_VERSION_ID;")
|
|
|
|
if [ $SW_VER -ge 50000 ]; then
|
|
composer require hyperf/engine:^2.8 --dev -W
|
|
fi
|
|
|
|
composer update -oW
|
|
|