forked from x/icebergs
opt some
This commit is contained in:
parent
a42766ddb2
commit
d9f14f0138
@ -150,10 +150,11 @@ echo "hello world"
|
|||||||
|
|
||||||
var _contexts = kit.Dict(
|
var _contexts = kit.Dict(
|
||||||
"source", `# 源码安装
|
"source", `# 源码安装
|
||||||
curl -fsSL {{.Option "httphost"}} |sh -s source
|
yum install -y tmux make git vim
|
||||||
|
export ctx_dev={{.Option "httphost"}} ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp; source $ctx_temp source
|
||||||
`,
|
`,
|
||||||
"binary", `# 应用安装
|
"binary", `# 应用安装
|
||||||
curl -fsSL {{.Option "httphost"}} |sh -s binary
|
export ctx_dev={{.Option "httphost"}} ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp; source $ctx_temp binary
|
||||||
`,
|
`,
|
||||||
"tmux", `# 终端环境
|
"tmux", `# 终端环境
|
||||||
export ctx_dev={{.Option "httphost"}} ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp; source $ctx_temp
|
export ctx_dev={{.Option "httphost"}} ctx_temp=$(mktemp); curl -fsSL $ctx_dev -o $ctx_temp; source $ctx_temp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user