update composer and readme

This commit is contained in:
crazywhalecc 2023-03-18 17:44:23 +08:00
parent 3d33c75a05
commit 880242ed93
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680
4 changed files with 5 additions and 19 deletions

View File

@ -58,9 +58,9 @@ This project is based on the tradition of using the MIT License for old versions
while the new version references source code from some other projects. while the new version references source code from some other projects.
Special thanks to: Special thanks to:
- dixyes/lwmbs (Mulun Permissive License) - [dixyes/lwmbs](https://github.com/dixyes/lwmbs) (Mulun Permissive License)
- swoole/swoole-cli (Apache 2.0 LICENSE+SWOOLE-CLI LICENSE) - [swoole/swoole-cli](https://github.com/swoole/swoole-cli) (Apache 2.0 LICENSE+SWOOLE-CLI LICENSE)
-
Due to the special nature of this project, Due to the special nature of this project,
many other open source projects such as curl and protobuf will be used during the project compilation process, many other open source projects such as curl and protobuf will be used during the project compilation process,
and they all have their own open source licenses. and they all have their own open source licenses.

View File

@ -59,8 +59,8 @@ chmod +x spc
本项目依据旧版本惯例采用 MIT License 开源,新版本采用了部分项目的源代码做参考,特别感谢: 本项目依据旧版本惯例采用 MIT License 开源,新版本采用了部分项目的源代码做参考,特别感谢:
- dixyes/lwmbs木兰宽松许可证 - [dixyes/lwmbs](https://github.com/dixyes/lwmbs)(木兰宽松许可证)
- swoole/swoole-cliApache 2.0 LICENSE+SWOOLE-CLI LICENSE - [swoole/swoole-cli](https://github.com/swoole/swoole-cli)Apache 2.0 LICENSE+SWOOLE-CLI LICENSE
因本项目的特殊性,使用项目编译过程中会使用很多其他开源项目,例如 curl、protobuf 等,它们都有各自的开源协议。 因本项目的特殊性,使用项目编译过程中会使用很多其他开源项目,例如 curl、protobuf 等,它们都有各自的开源协议。
请在编译完成后,使用命令 `dump-license`(TODO) 导出项目使用项目的开源协议,并遵守对应项目的 LICENSE。 请在编译完成后,使用命令 `dump-license`(TODO) 导出项目使用项目的开源协议,并遵守对应项目的 LICENSE。

View File

@ -4,9 +4,6 @@
"actions": [ "actions": [
{ {
"action": "composer analyse" "action": "composer analyse"
},
{
"action": "composer test"
} }
] ]
}, },

View File

@ -24,17 +24,6 @@
] ]
}, },
"extra": { "extra": {
"hooks": {
"post-merge": "composer install",
"pre-commit": [
"echo committing as $(git config user.name)",
"composer cs-fix -- --diff"
],
"pre-push": [
"composer cs-fix -- --dry-run --diff",
"composer analyse"
]
}
}, },
"bin": [ "bin": [
"bin/spc" "bin/spc"