Documentation ¶
Index ¶
Constants ¶
View Source
const GCC = "gcc"
Variables ¶
View Source
var Index = &ice.Context{Name: GCC, Help: "编译器", Configs: map[string]*ice.Config{ GCC: {Name: GCC, Help: "编译器", Value: kit.Data( "source", "http://mirrors.aliyun.com/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.gz", "build", []interface{}{ "--enable-languages=c,c++", "--disable-multilib", "--disable-checking", }, )}, }, Commands: map[string]*ice.Command{ GCC: {Name: "gcc path auto build install", Help: "编译器", Action: map[string]*ice.Action{ code.INSTALL: {Name: "download", Help: "下载", Hand: func(m *ice.Message, arg ...string) { m.Cmdy(code.INSTALL, code.INSTALL, m.Conf(GCC, kit.META_SOURCE)) }}, cli.BUILD: {Name: "build", Help: "构建", Hand: func(m *ice.Message, arg ...string) { m.Cmdy(code.INSTALL, cli.BUILD, m.Conf(GCC, kit.META_SOURCE), m.Confv(GCC, "meta.build")) }}, }, Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Cmdy(code.INSTALL, path.Base(m.Conf(GCC, kit.META_SOURCE)), arg) }}, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.