Skip to content

Commit

Permalink
add an cli logo for swoftcli
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Nov 30, 2019
1 parent 3181140 commit d52ab5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ php:

install:
# - echo 'no' | pecl install -f redis
- 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 -
- 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 -
- echo "extension = swoole.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

before_script:
Expand Down
4 changes: 1 addition & 3 deletions app/Command/SelfUpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
namespace Swoft\Cli\Command;

use Swoft\Cli\SwoftCLI;
use Swoft\Console\Helper\Show;
use Swoft\Console\Annotation\Mapping\Command;
use Swoft\Console\Annotation\Mapping\CommandArgument;
use Swoft\Console\Annotation\Mapping\CommandMapping;
use Swoft\Console\Annotation\Mapping\CommandOption;
use Swoft\Console\Helper\Show;
use Swoft\Console\Input\Input;
use Swoft\Console\Output\Output;
use Swoole\Coroutine\Http\Client;
use Toolkit\Cli\Download;
use function file_get_contents;
use function json_decode;
use function parse_url;

Expand Down
1 change: 1 addition & 0 deletions app/bean.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'cliApp' => [
'name' => config('name'),
'version' => SwoftCLI::VERSION,
'logoText' => SwoftCLI::CLI_LOGO,
'description' => config('description'),
],
'cliRouter' => [
Expand Down

0 comments on commit d52ab5b

Please sign in to comment.