Buildsystems

(Foreign-) buildystems refers to any other buildsystem or utility like autotools,cmake and make which nitto can drive to produce artifacts to be used then by buildtargets.

Using a buildsystem

Both source and use accept an buildsystem command in their block, which will then cause a buildsystem to be executed once the accessor has sucessfully pulled the remote into some local place. For the command’s reference see here.

Example:

target "ruby" {
    # ...

    sources "download://$(opt.ruby-download-url)" {
        # ...

        buildsystem "autotools" {
            # ...
        }
    }
}