mirror of
http://124.126.16.154:8888/singularity/hyperf-admin.git
synced 2026-01-15 06:55:06 +08:00
perf: 分包中增加 readme
This commit is contained in:
30
bin/split.sh
Executable file
30
bin/split.sh
Executable file
@@ -0,0 +1,30 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
CURRENT_BRANCH="master"
|
||||||
|
BASEPATH=$(cd `dirname $0`; cd ../src/; pwd)
|
||||||
|
REPOS=$@
|
||||||
|
|
||||||
|
function split()
|
||||||
|
{
|
||||||
|
SHA1=`splitsh-lite --prefix=$1`
|
||||||
|
git push $2 "$SHA1:refs/heads/$CURRENT_BRANCH" -f
|
||||||
|
}
|
||||||
|
|
||||||
|
function remote()
|
||||||
|
{
|
||||||
|
git remote add $1 $2 || true
|
||||||
|
}
|
||||||
|
|
||||||
|
if [[ $# -eq 0 ]]; then
|
||||||
|
REPOS=$(ls $BASEPATH)
|
||||||
|
fi
|
||||||
|
|
||||||
|
for REPO in $REPOS ; do
|
||||||
|
remote $REPO git@github.com:hyperf-admin/$REPO.git
|
||||||
|
split "src/$REPO" $REPO
|
||||||
|
done
|
||||||
|
|
||||||
|
git pull origin $CURRENT_BRANCH
|
||||||
3
src/admin/README.md
Normal file
3
src/admin/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/alert-manager/README.md
Normal file
3
src/alert-manager/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/base-utils/README.md
Normal file
3
src/base-utils/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/cron-center/README.md
Normal file
3
src/cron-center/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/data-focus/README.md
Normal file
3
src/data-focus/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/dev-tools/README.md
Normal file
3
src/dev-tools/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/event-bus/README.md
Normal file
3
src/event-bus/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/process-manager/README.md
Normal file
3
src/process-manager/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/rule-engine/README.md
Normal file
3
src/rule-engine/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
3
src/validation/README.md
Normal file
3
src/validation/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## hyperf-admin 的分包
|
||||||
|
|
||||||
|
[文档地址](https://hyperf-admin.github.io/hyperf-admin/)
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "rock-admin/dev-tools",
|
|
||||||
"type": "library",
|
|
||||||
"license": "MIT",
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "daodao97",
|
|
||||||
"email": "daodao97@foxmail.com"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"require": {
|
|
||||||
"rock-admin/scaffold": "dev-master"
|
|
||||||
},
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Rock\\WorkFlow\\": "./src"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"extra": {
|
|
||||||
"rock-admin": {
|
|
||||||
"config": "Rock\\WorkFlow\\ConfigProvider"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"repositories": {
|
|
||||||
"rock-admin": {
|
|
||||||
"type": "path",
|
|
||||||
"url": "/opt/www/rock-admin/*/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"description": ""
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user