From ed65d194e6272712b66870306db2316e6b38b519 Mon Sep 17 00:00:00 2001 From: shy Date: Wed, 18 Sep 2024 20:40:55 +0800 Subject: [PATCH] add some --- core/code/compile.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/code/compile.go b/core/code/compile.go index 27196713..6feab857 100644 --- a/core/code/compile.go +++ b/core/code/compile.go @@ -113,7 +113,6 @@ func init() { }}, }, web.DreamTablesAction(), ctx.ConfAction(cli.ENV, kit.Dict(GOPRIVATE, "shylinux.com,github.com", GOPROXY, "https://goproxy.cn,direct", CGO_ENABLED, "0"))), Hand: func(m *ice.Message, arg ...string) { main, file, goos, arch := _compile_target(m, arg...) - defer web.ToastProcess(m, file)() env := kit.Simple(cli.PATH, cli.BinPath(), cli.HOME, kit.Select(kit.Path(""), kit.Env(cli.HOME)), mdb.Configv(m, cli.ENV), m.Optionv(cli.ENV), cli.GOOS, goos, cli.GOARCH, arch) kit.If(runtime.GOOS == cli.WINDOWS, func() { env = append(env, GOPATH, kit.HomePath(GO), GOCACHE, kit.HomePath("go/go-build")) }) m.Options(cli.CMD_ENV, env).Cmd(AUTOGEN, VERSION)