1
0
forked from x/ContextOS
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-12 22:25:30 +08:00
parent 4d6efc3f4c
commit a564902f24

View File

@ -23,8 +23,8 @@ main() {
prepare_ice && $PWD/bin/ice.bin forever start "$@"
;;
dev) shift # 开发环境
prepare_package; prepare_system; require miss.sh; [ -f ~/.gitconfig ] || ish_dev_git_prepare
[ -e $ctx_name ] || git config --global "url.$ctx_dev/x/.insteadof" "${ctx_repos%/*}/" && git clone $ctx_repos $ctx_name; cd $ctx_name
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
source etc/miss.sh && $PWD/bin/ice.bin forever start "$@"
;;
cmd) # 命令环境