1
0
forked from x/icebergs
This commit is contained in:
shylinux 2021-09-01 11:27:41 +08:00
parent 8c434eb4df
commit 33a485dee2

View File

@ -164,22 +164,22 @@ echo "hello world"
var _contexts = kit.Dict( var _contexts = kit.Dict(
"project", `# 创建项目 "project", `# 创建项目
source <(curl -fsSL https://shylinux.com) project ctx_temp=$(mktemp); curl -fsSL https://shylinux.com -o $ctx_temp; source $ctx_temp project
`, `,
"source", `# 源码安装 "source", `# 源码安装
source <(curl -fsSL https://shylinux.com) source ctx_temp=$(mktemp); curl -fsSL https://shylinux.com -o $ctx_temp; source $ctx_temp source
`, `,
"binary", `# 应用安装 "binary", `# 应用安装
source <(curl -fsSL https://shylinux.com) binary ctx_temp=$(mktemp); curl -fsSL https://shylinux.com -o $ctx_temp; source $ctx_temp binary
`, `,
"miss", `# 开发环境 "miss", `# 开发环境
export ctx_dev={{.Option "httphost"}}; source <(curl -fsSL $ctx_dev) dev export ctx_dev={{.Option "httphost"}}; ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp; source $ctx_temp dev
`, `,
"base", `# 生产环境 "base", `# 生产环境
export ctx_dev={{.Option "httphost"}}; source <(curl -fsSL $ctx_dev) app export ctx_dev={{.Option "httphost"}}; ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp; source $ctx_temp app
`, `,
"tmux", `# 终端环境 "tmux", `# 终端环境
export ctx_dev={{.Option "httphost"}}; source <(curl -fsSL $ctx_dev) export ctx_dev={{.Option "httphost"}}; ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp; source $ctx_temp
`, `,
"tool", `# 群组环境 "tool", `# 群组环境
mkdir contexts; cd contexts mkdir contexts; cd contexts