mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04:06 +08:00
add some
This commit is contained in:
parent
bd22ceedfc
commit
261e080d35
@ -24,7 +24,9 @@ main() {
|
|||||||
;;
|
;;
|
||||||
dev) shift # 开发环境
|
dev) shift # 开发环境
|
||||||
require miss.sh; prepare_package; prepare_system; [ -f ~/.gitconfig ] || ish_dev_git_prepare
|
require miss.sh; prepare_package; prepare_system; [ -f ~/.gitconfig ] || ish_dev_git_prepare
|
||||||
[ -e $ctx_name ] || git config --global "url.$ctx_dev/x/.insteadof" "${ctx_repos%/*}/" && echo && ish_log_debug -g "clone $ctx_repos" && git clone $ctx_repos $ctx_name; cd $ctx_name
|
if ! [ -e $ctx_name ]; then
|
||||||
|
git config --global "url.$ctx_dev/x/.insteadof" "${ctx_repos%/*}/" && echo && ish_log_debug -g "clone $ctx_repos" && git clone $ctx_repos $ctx_name
|
||||||
|
fi; cd $ctx_name
|
||||||
source etc/miss.sh && $PWD/bin/ice.bin forever start "$@"
|
source etc/miss.sh && $PWD/bin/ice.bin forever start "$@"
|
||||||
;;
|
;;
|
||||||
cmd) # 命令环境
|
cmd) # 命令环境
|
||||||
|
Loading…
x
Reference in New Issue
Block a user