Manifest-related operations.
Obtain a readable output.
Convert from JSON to the (nearly) original YAML file.
Warning
When converting from YAML to JSON, comments and order are lost, and can’t be recovered when converting from JSON to YAML.
Class where all the commands from the build scripts are defined. Shouldn’t be used outside a build script. If you try to run an undefined command, it will raise a CmdError.
Exception raised when buildcmd gets an undefined command. It should print something like:
Tried to execute an illegal command: <command you tried to run>
Create a package from a manifest (in JSON format) and a builds (build script). It should be named following the build script guidelines. It also needs a builddir where building the skeleton of the package, and a srcdir where the original source is located.
Important
Both builddir and srcdir must be under the current directory (you can’t indicate a path).