Fubsy - 软件构建工具


BSD
Windows
Google Go

软件简介

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"
    }
}