diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 00:09:13 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-13 00:09:13 -0500 |
commit | 2ba00882b7f990d839f146c8032d4277628cbb0b (patch) | |
tree | 677ff52384e27a6202e661fecb5320bf50db9fde /src | |
parent | cc76f3972527cfc43986561f4bce9a7f24f40921 (diff) | |
download | stasis-2ba00882b7f990d839f146c8032d4277628cbb0b.tar.gz |
Expose more storage variables to template engine
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -201,6 +201,11 @@ int main(int argc, char *argv[], char *arge[]) { tpl_register("meta.python_compact", &ctx.meta.python_compact); tpl_register("info.time_str_epoch", &ctx.info.time_str_epoch); tpl_register("info.release_name", &ctx.info.release_name); + tpl_register("storage.tmpdir", &ctx.storage.tmpdir); + tpl_register("storage.delivery_dir", &ctx.storage.delivery_dir); + tpl_register("storage.conda_artifact_dir", &ctx.storage.conda_artifact_dir); + tpl_register("storage.wheel_artifact_dir", &ctx.storage.wheel_artifact_dir); + tpl_register("storage.build_sources_dir", &ctx.storage.build_sources_dir); tpl_register("conda.installer_baseurl", &ctx.conda.installer_baseurl); tpl_register("conda.installer_name", &ctx.conda.installer_name); tpl_register("conda.installer_version", &ctx.conda.installer_version); |