1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00

add build

This commit is contained in:
shaoying 2020-06-06 22:22:01 +08:00
parent 7ef4ee6ae7
commit c298c79e80
2 changed files with 15 additions and 6 deletions

View File

@ -35,3 +35,15 @@ ish_miss_status() {
cd -
done
}
ish_miss_build() {
local target=bin/ice.bin source=src/main.go
ish_log_debug build $source
go build -v -o $target $source && chmod u+x $target && ./bin/ice.sh restart
ish_log_debug build $target
}
ish_miss_build_windows() {
local target=usr/publish/ice.windows.amd64 source=src/main.go
ish_log_debug build $source
GOOS=windows go build -v -o $target $source && chmod u+x $target
ish_log_debug build $target
}

View File

@ -16,12 +16,9 @@ Volcanos("onengine", { river: {
{type: "button", name: "返回"},
], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js", style: "word"}},
]},
"word": {name: "word", action: [
{name: "trans", help: "词汇", inputs: [
{type: "text", name: "word", value: "miss"},
{type: "text", name: "method", value: ""},
{type: "button", name: "翻译"},
], group: "web.wiki.alpha", index: "trans"},
"task": {name: "task", index: [
"web.team.task",
"web.team.plan",
]},
"hello": {name: "应用1", action: [
{name: "route", help: "路由", inputs: [