File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88install :
99# - echo 'no' | pecl install -f redis
10- - wget https://github.com/swoole/swoole-src/archive/v4.4.3 .tar.gz -O swoole.tar.gz && mkdir -p swoole && tar -xf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && phpize && ./configure && make -j$(nproc) && make install && cd -
10+ - wget https://github.com/swoole/swoole-src/archive/v4.4.12 .tar.gz -O swoole.tar.gz && mkdir -p swoole && tar -xf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && phpize && ./configure && make -j$(nproc) && make install && cd -
1111 - echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
1212
1313before_script :
Original file line number Diff line number Diff line change 33namespace Swoft \Cli \Command ;
44
55use Swoft \Cli \SwoftCLI ;
6- use Swoft \Console \Helper \Show ;
76use Swoft \Console \Annotation \Mapping \Command ;
8- use Swoft \Console \Annotation \Mapping \CommandArgument ;
97use Swoft \Console \Annotation \Mapping \CommandMapping ;
108use Swoft \Console \Annotation \Mapping \CommandOption ;
9+ use Swoft \Console \Helper \Show ;
1110use Swoft \Console \Input \Input ;
1211use Swoft \Console \Output \Output ;
1312use Swoole \Coroutine \Http \Client ;
1413use Toolkit \Cli \Download ;
15- use function file_get_contents ;
1614use function json_decode ;
1715use function parse_url ;
1816
Original file line number Diff line number Diff line change 88 'cliApp ' => [
99 'name ' => config ('name ' ),
1010 'version ' => SwoftCLI::VERSION ,
11+ 'logoText ' => SwoftCLI::CLI_LOGO ,
1112 'description ' => config ('description ' ),
1213 ],
1314 'cliRouter ' => [
You can’t perform that action at this time.
0 commit comments