Package definition

Example

An example can help, right? The package definition for exa is a good way to start.

Definition

A package is a yaml file with the following mandatory properties:

And optional properties:

versions

The type for versions is Hash(VersionId, Version)

A Binary has the following properties:

A WithTemplate has the following properties:

This requires another root property in your yaml: templates. The type is Hash(VersionId, Hash(Arch, Binary | Array(Binary))).

In a template, use the following to replace part of the url:

PostInstall

A PostInstall has the following properties:

For the echo type, use the following property:

For the move type, use the following properties:

For the run type, use the following property:

For the symlink type, use the following properties: