From c298c79e807a9617dc14b0eda7ad6aa03662efb0 Mon Sep 17 00:00:00 2001 From: shaoying Date: Sat, 6 Jun 2020 22:22:01 +0800 Subject: [PATCH] add build --- etc/miss.sh | 12 ++++++++++++ usr/publish/order.js | 9 +++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/etc/miss.sh b/etc/miss.sh index ec42c09a..f0c9c644 100644 --- a/etc/miss.sh +++ b/etc/miss.sh @@ -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 +} diff --git a/usr/publish/order.js b/usr/publish/order.js index 2ec89fc4..5c6a1e15 100644 --- a/usr/publish/order.js +++ b/usr/publish/order.js @@ -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: [