Fubsy軟件構(gòu)建工具
Fubsy 是一個(gè)高效的軟件構(gòu)建工具。使用 Go 語(yǔ)言編寫(xiě),該工具目前還處于非常早期的階段。
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"
}
}評(píng)論
圖片
表情
