From b413019ac6db063440572a7ac3b6ee5f18466330 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 24 Feb 2022 17:35:22 +0530 Subject: forge: Thunk ci-jobs and run fields. These fields need to be thunked to allow the user access to this-record accessors when describing jobs. * forge/forge.scm ()[ci-jobs]: Thunk field. * forge/laminar.scm ()[run]: Thunk field. --- forge/forge.scm | 2 +- forge/laminar.scm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forge/forge.scm b/forge/forge.scm index 71af1ad..1336509 100644 --- a/forge/forge.scm +++ b/forge/forge.scm @@ -74,7 +74,7 @@ (website-directory forge-project-configuration-website-directory (default #f)) (ci-jobs forge-project-configuration-ci-jobs - (default '())) + (default '()) (thunked)) (ci-jobs-trigger forge-project-configuration-ci-jobs-trigger ; one of 'post-receive-hook, 'cron, 'webhook (default (cond ;; 'post-receive-hook for local repositories diff --git a/forge/laminar.scm b/forge/laminar.scm index 8704d39..9ce12d0 100644 --- a/forge/laminar.scm +++ b/forge/laminar.scm @@ -53,7 +53,7 @@ forge-laminar-job? this-forge-laminar-job (name forge-laminar-job-name) - (run forge-laminar-job-run) + (run forge-laminar-job-run (thunked)) (after forge-laminar-job-after (default #f))) -- cgit v1.2.3