1
0
forked from x/ContextOS
This commit is contained in:
shaoying 2020-09-06 17:41:37 +08:00
parent 1a708f792f
commit a3e8be8c11
5 changed files with 14 additions and 20 deletions

View File

@ -10,8 +10,6 @@ prepare() {
[ -d bin ] || mkdir bin
[ -e bin/ice.sh ] || curl -sq $ctx_dev/publish/ice.sh -o bin/ice.sh && chmod u+x bin/ice.sh
[ -e bin/ice.bin ] && chmod u+x bin/ice.bin && return
mkdir -p usr/publish
[ -e usr/publish/order.js ] || echo "{}" > usr/publish/order.js
bin="ice"
case `uname -s` in

View File

@ -1,6 +1,6 @@
#!/bin/bash
[ -f ~/.ish/plug.sh ] || [ -f ./.ish/plug.sh ] || git clone https://github.com/shylinux/intshell ./.ish
[ -f ~/.ish/plug.sh ] || [ -f ./.ish/plug.sh ] || git clone ${ISH_CONF_HUB_PROXY:="https://"}github.com/shylinux/intshell ./.ish
[ "$ISH_CONF_PRE" != "" ] || source ./.ish/plug.sh || source ~/.ish/plug.sh
require miss.sh

1
go.mod
View File

@ -6,6 +6,7 @@ require (
github.com/go-sql-driver/mysql v1.5.0
github.com/gomarkdown/markdown v0.0.0-20200824053859-8c8b3816f167
github.com/gomodule/redigo v2.0.0+incompatible
github.com/google/gitprotocolio v0.0.0-20180630173033-8d2b3b1c37f6
github.com/gorilla/websocket v1.4.2
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1

2
go.sum
View File

@ -14,6 +14,8 @@ github.com/goki/freetype v0.0.0-20181231101311-fa8a33aabaff/go.mod h1:wfqRWLHRBs
github.com/gomarkdown/markdown v0.0.0-20200824053859-8c8b3816f167/go.mod h1:aii0r/K0ZnHv7G0KF7xy1v0A7s2Ljrb5byB7MO5p6TU=
github.com/gomodule/redigo v2.0.0+incompatible h1:K/R+8tc58AaqLkqG2Ol3Qk+DR/TlNuhuh457pBFPtt0=
github.com/gomodule/redigo v2.0.0+incompatible/go.mod h1:B4C85qUVwatsJoIUNIfCRsp7qO0iAmpGFZ4EELWSbC4=
github.com/google/gitprotocolio v0.0.0-20180630173033-8d2b3b1c37f6 h1:j5r184GepPynGzPVmz/nTUsZBW2Tl237S0WN9JcbOAU=
github.com/google/gitprotocolio v0.0.0-20180630173033-8d2b3b1c37f6/go.mod h1:ZWHBOUQ5S1VRRi7XG5FXPOxxIwwsK4suKZ+MSgq2zTg=
github.com/google/uuid v1.1.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=

View File

@ -1,3 +1,8 @@
spark "生产环境"
web.code.install contexts base
spark "开发环境"
web.code.install contexts miss
return
title "contexts"
premenu
@ -24,23 +29,11 @@ chapter "环境"
field "安装管理" web.code.install
field "发布管理" web.code.publish
section "终端环境"
web.code.install contexts tmux centos
web.code.install contexts tmux ubuntu
web.code.install contexts tmux alpine
web.code.install contexts tmux darwin
section "生产环境"
web.code.install contexts base centos
web.code.install contexts base ubuntu
web.code.install contexts base alpine
web.code.install contexts base darwin
section "开发环境"
web.code.install contexts miss centos
web.code.install contexts miss ubuntu
web.code.install contexts miss alpine
web.code.install contexts miss darwin
chapter "环境"
spark "生产环境"
web.code.install contexts base
spark "开发环境"
web.code.install contexts miss
chapter "组织"
chapter "品牌"