Description
Currently the only helpful variable provided at build time to identify the variant currently building is:
REZ_BUILD_VARIANT_INDEX="#", being the zero-indexed ID of the currently building variant from the package.py.
Currently the only way to get a readable variant listing at build time is to either have the build script parse the build-path, subtract the project-path off the front, or to use the index to read and locate the variant in the package.py, neither of which is super ideal.
It would instead be grand if there were something to the effect of:
REZ_BUILD_VARIANT="thing-1.2.3,other-2.3.4,another-3.4.5"
The delimiter used I think is largely relevant as long as it doesn't have another meaning, commas, spaces, slashes probably all solid choices.
Perhaps setting one that does not include implicit-packages in the list, so that platform/arch/os would not be a part of the listing, set to another variable with a similarly short but hopefully descriptive name.