mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
add doctor linux support
This commit is contained in:
parent
8505feaa66
commit
b84c68fe11
@ -104,7 +104,7 @@ Basic usage for building php and micro with some extensions:
|
|||||||
cd static-php-cli
|
cd static-php-cli
|
||||||
composer update
|
composer update
|
||||||
chmod +x bin/spc
|
chmod +x bin/spc
|
||||||
# Check system tool dependencies, fix them automatically (only support macOS) (TODO: Linux distro support)
|
# Check system tool dependencies, fix them automatically
|
||||||
./bin/spc doctor
|
./bin/spc doctor
|
||||||
# fetch all libraries
|
# fetch all libraries
|
||||||
./bin/spc fetch --all
|
./bin/spc fetch --all
|
||||||
|
|||||||
@ -98,7 +98,7 @@ chmod +x bin/setup-runtime
|
|||||||
cd static-php-cli
|
cd static-php-cli
|
||||||
composer update
|
composer update
|
||||||
chmod +x bin/spc
|
chmod +x bin/spc
|
||||||
# 检查环境依赖,并根据提示的命令安装缺失的编译工具(目前仅支持 macOS,Linux 后续会支持)
|
# 检查环境依赖,并根据提示的命令安装缺失的编译工具
|
||||||
./bin/spc doctor
|
./bin/spc doctor
|
||||||
# 拉取所有依赖库
|
# 拉取所有依赖库
|
||||||
./bin/spc fetch --all
|
./bin/spc fetch --all
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user