Build systems
A build system is the package that knows how to build one language. A project names it with build =, and pins it like any library.
JavaBuild, KotlinBuild, GoBuild, RustBuild, PythonBuild, NodeBuild, NodeWeb, ElixirBuild, CustomBuildbuild-dependencies, as JavaBuild = 1.0configuration/<BuildSystem>.configHow a build runs
- plinto reads the workspace's revision, and takes the packages
build-dependenciesname: the build system and its toolchain. - It loads the build system, and hands it the project, with its
dependenciesandtest-dependenciestaken from the group the same way. - The build system compiles, tests and packages, in phases:
prepare,compile,test,package, andreleasewhen it is a release.
A new version of a build system is just a new release in your group, so moving every project to it is a revision like any other.
One build for libraries and programs
The same build system builds a library and a program. A program only names its entry point, with main in plinto.conf: a class in Java, a file in Rust. Then plinto run starts it, and the Archive packager packs it to run on a server: a .tar.gz with the program, its libraries and its runtime, such as its own JDK. See Deployments.
Your own steps
Any build system runs your scripts before or after a phase: see Run a script during the build. For a language plinto has no build system for, CustomBuild runs your own scripts/build.sh.