mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
add some
This commit is contained in:
parent
a6bc20485e
commit
aebdbf7c6f
@ -4,7 +4,7 @@ main() {
|
||||
case "$1" in
|
||||
app) shift # 生产环境
|
||||
[ -e $ctx_name ] || mkdir $ctx_name; cd $ctx_name
|
||||
export PATH="$PWD/bin:$PWD/local/bin:$PWD/usr/local/go/bin:$PATH"
|
||||
export PS1="\u@\h[\t]\W\$ " PATH="$PWD/bin:$PWD/local/bin:$PWD/usr/local/go/bin:$PATH"
|
||||
prepare_ice && while true; do ./bin/ice.bin serve start dev dev "$@" && break; done
|
||||
;;
|
||||
dev) shift # 开发环境
|
||||
|
Loading…
x
Reference in New Issue
Block a user