mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-05 21:28:15 +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.0 --dev -W
|
|
fi
|
|
|
|
composer update -oW
|
|
|