Fubsy软件构建工具

联合创作 · 2023-10-01 14:13

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"
    }
}
浏览 2
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报