mirror of
https://shylinux.com/x/icebergs
synced 2025-04-25 17:18:05 +08:00
add some
This commit is contained in:
parent
a530f62cc0
commit
a7cc74c80b
@ -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) })
|
||||
}
|
||||
}},
|
||||
})
|
||||
|
@ -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])))
|
||||
|
Loading…
x
Reference in New Issue
Block a user