From a7cc74c80ba4eb59b5a3d36c975593fe4a0994e3 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 27 Nov 2023 13:24:39 +0800 Subject: [PATCH] add some --- core/code/compile.go | 5 +---- misc/git/service.go | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/core/code/compile.go b/core/code/compile.go index 6ae71543..6d6b6aa0 100644 --- a/core/code/compile.go +++ b/core/code/compile.go @@ -125,10 +125,7 @@ func init() { } else { m.Logs(nfs.SAVE, nfs.TARGET, file, nfs.SOURCE, main) m.Cmdy(nfs.DIR, file, "time,path,size,hash,link") - kit.If(!m.IsCliUA() && strings.Contains(file, ice.ICE), func() { - m.Cmdy(PUBLISH, ice.CONTEXTS, ice.APP) - m.EchoScript(web.SpideURL(m, ice.DEMO)) - }) + kit.If(!m.IsCliUA() && strings.Contains(file, ice.ICE), func() { m.Cmdy(PUBLISH, ice.CONTEXTS, ice.APP) }) } }}, }) diff --git a/misc/git/service.go b/misc/git/service.go index e315b3f2..3f300942 100644 --- a/misc/git/service.go +++ b/misc/git/service.go @@ -163,7 +163,6 @@ func init() { m.Push(nfs.SIZE, kit.Split(m.Cmdx(cli.SYSTEM, "du", "-sh", path.Join(ice.USR_LOCAL_REPOS, value[REPOS])))[0]) m.PushScript(kit.Format("git clone %s", _service_link(m, value[REPOS]))) }).Sort(REPOS).Cmdy(web.CODE_PUBLISH, ice.CONTEXTS, ice.DEV) - m.EchoScript(web.SpideURL(m, ice.DEMO)) kit.If(mdb.Config(m, aaa.AUTH) == aaa.PRIVATE, func() { m.StatusTimeCount(aaa.AUTH, aaa.PRIVATE) }) } else if repos := _repos_open(m, arg[0]); len(arg) == 1 { defer m.PushScript(kit.Format("git clone %s", _service_link(m, arg[0])))