Distribution

pathbase includes a dist.json file for use with distman.

The root dist.json distributes:

Disting an Example Flavor

distman already supports target selection from the CLI with -t / --target, so the practical way to choose an example env file is to define a separate target for each example in dist.json.

For example, to distribute the VFX pathbase.env:

dist -t env_vfx

That copies:

examples/vfx/pathbase.env

to:

{DEPLOY_ROOT}/env/pathbase.env

Each of those targets deploys its selected example env file to the same destination. This means the target name selects which example file is disted, while the destination path stays stable for downstream tools.

Why Targets Work Well