aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stasis_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stasis_main.c b/src/stasis_main.c
index c550982..13576a1 100644
--- a/src/stasis_main.c
+++ b/src/stasis_main.c
@@ -260,6 +260,10 @@ int main(int argc, char *argv[]) {
tpl_register("workaround.tox_posargs", &globals.workaround.tox_posargs);
tpl_register("workaround.conda_reactivate", &globals.workaround.conda_reactivate);
+ // Expose function(s) to the template engine
+ // Prototypes can be found in template_func_proto.h
+ tpl_register_func("get_github_release_notes", &get_github_release_notes_tplfunc_entrypoint, 3);
+
// Set up PREFIX/etc directory information
// The user may manipulate the base directory path with STASIS_SYSCONFDIR
// environment variable