软件构建工具 Fubsy

BSD
Google Go
Windows
2013-01-07
红薯

Fubsy 是一个高效的软件构建工具。使用 Go 语言编写,该工具目前还处于非常早期的阶段。

In concrete terms, it lets you conditionally (re)build targets from sources based on which sources have changed since the last build. Typically, targets and sources are all files in a directory tree. In theory, they can be any resource on a computer. More abstractly, Fubsy is an engine for conditional execution of actions based on the dependencies between related resources.

示例代码:

main {
    CC = "/usr/bin/gcc"
    source = <src/*.c>
    headers = <src/*.h>

    "myapp": headers + source {
        "$CC -o $TARGET $source"
    }
}

加载中

评论(0)

暂无评论

暂无资讯

暂无问答

暂无博客

返回顶部
顶部