1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-13 13:33:15 +08:00
parent a564902f24
commit d596913ce6

View File

@ -24,7 +24,7 @@ main() {
;;
dev) shift # 开发环境
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%/*}/" && ish_log_debug -g "clone $ctx_repos" && git clone $ctx_repos $ctx_name; cd $ctx_name
[ -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
source etc/miss.sh && $PWD/bin/ice.bin forever start "$@"
;;
cmd) # 命令环境