Skip to content

Commit d52ab5b

Browse files
committed
add an cli logo for swoftcli
1 parent 3181140 commit d52ab5b

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ php:
77

88
install:
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

1313
before_script:

app/Command/SelfUpdateCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
namespace Swoft\Cli\Command;
44

55
use Swoft\Cli\SwoftCLI;
6-
use Swoft\Console\Helper\Show;
76
use Swoft\Console\Annotation\Mapping\Command;
8-
use Swoft\Console\Annotation\Mapping\CommandArgument;
97
use Swoft\Console\Annotation\Mapping\CommandMapping;
108
use Swoft\Console\Annotation\Mapping\CommandOption;
9+
use Swoft\Console\Helper\Show;
1110
use Swoft\Console\Input\Input;
1211
use Swoft\Console\Output\Output;
1312
use Swoole\Coroutine\Http\Client;
1413
use Toolkit\Cli\Download;
15-
use function file_get_contents;
1614
use function json_decode;
1715
use function parse_url;
1816

app/bean.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
'cliApp' => [
99
'name' => config('name'),
1010
'version' => SwoftCLI::VERSION,
11+
'logoText' => SwoftCLI::CLI_LOGO,
1112
'description' => config('description'),
1213
],
1314
'cliRouter' => [

0 commit comments

Comments
 (0)