mirror of
https://2025-dev.shylinux.com/x/20250211-service
synced 2025-04-25 04:38:06 +08:00
15 lines
559 B
Bash
15 lines
559 B
Bash
#!/bin/sh
|
|
|
|
export ctx_shy=${ctx_shy:=https://shylinux.com}
|
|
if [ -f $PWD/.ish/plug.sh ]; then source $PWD/.ish/plug.sh; elif [ -f $HOME/.ish/plug.sh ]; then source $HOME/.ish/plug.sh; else
|
|
temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_shy; else wget -O $temp -q $ctx_shy; fi; source $temp intshell
|
|
fi; require conf.sh; require miss.sh; ish_sys_cli_prepare
|
|
|
|
ish_miss_prepare_compile
|
|
ish_miss_prepare_develop
|
|
ish_miss_prepare_project
|
|
|
|
ish_miss_prepare_contexts
|
|
ish_miss_prepare_resource
|
|
|
|
ish_miss_make; [ -z "$*" ] || ish_miss_serve "$@" |