mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 09:14:06 +08:00
add build
This commit is contained in:
parent
7ef4ee6ae7
commit
c298c79e80
12
etc/miss.sh
12
etc/miss.sh
@ -35,3 +35,15 @@ ish_miss_status() {
|
|||||||
cd -
|
cd -
|
||||||
done
|
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
|
||||||
|
}
|
||||||
|
@ -16,12 +16,9 @@ Volcanos("onengine", { river: {
|
|||||||
{type: "button", name: "返回"},
|
{type: "button", name: "返回"},
|
||||||
], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js", style: "word"}},
|
], index: "web.wiki.word", feature: {display: "/plugin/local/wiki/word.js", style: "word"}},
|
||||||
]},
|
]},
|
||||||
"word": {name: "word", action: [
|
"task": {name: "task", index: [
|
||||||
{name: "trans", help: "词汇", inputs: [
|
"web.team.task",
|
||||||
{type: "text", name: "word", value: "miss"},
|
"web.team.plan",
|
||||||
{type: "text", name: "method", value: ""},
|
|
||||||
{type: "button", name: "翻译"},
|
|
||||||
], group: "web.wiki.alpha", index: "trans"},
|
|
||||||
]},
|
]},
|
||||||
"hello": {name: "应用1", action: [
|
"hello": {name: "应用1", action: [
|
||||||
{name: "route", help: "路由", inputs: [
|
{name: "route", help: "路由", inputs: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user