bud_build:golang 构建系统使用 golang

时间:2024-06-30 08:56:33
【文件属性】:

文件名称:bud_build:golang 构建系统使用 golang

文件大小:35KB

文件格式:ZIP

更新时间:2024-06-30 08:56:33

Go

芽 golang 构建系统使用 golang 安装 go get github.com/tbud/bud 示例build.bud 此文件只是一个快速示例,可让您了解 bud 的作用。 # ! / usr / bin / env bud # config asset plugin TaskConfig ( "bud.asset" , Config { "patterns" : [] string { "bud.conf" }, "output" : "context/assets.go" , "package" : "context" , }) UseTasks ( "bud" ) Task ( "build" , Tasks ( "asset" ), func () error { return Exec ( "go" , "get" , "github.com/t


【文件预览】:
bud_build-master
----tasks()
--------asset()
--------tasks.go(544B)
--------license()
--------dist()
----asset()
--------asset.go(2KB)
----builtin()
--------exec.go(770B)
--------path.go(628B)
----seed()
--------seed_test.go(225B)
--------seed.go(3KB)
--------copy.go(2KB)
----LICENSE(1KB)
----bud.conf(224B)
----main.go(3KB)
----build.bud(320B)
----context()
--------task_test.go(3KB)
--------context.go(1KB)
--------watch_test.go(259B)
--------assets.go(1012B)
--------build.bud(240B)
--------watch.go(6KB)
--------event.go(753B)
--------executor.go(653B)
--------homedir.go(1KB)
--------task.go(6KB)
----README.md(2KB)
----script()
--------script.go(4KB)
--------script_test.bud(73B)
--------script_test.go(379B)
--------scanner_test.go(1KB)
--------scanner.go(7KB)
--------scanner_test.bud(578B)

网友评论