From 930f6040166e2495e6fd3ad3e86f5a24cbc01f0c Mon Sep 17 00:00:00 2001 From: Alejandro R Mosteo Date: Wed, 13 May 2020 13:37:49 +0200 Subject: [PATCH] Workaround for jekyll export of case expressions (#404) --- src/alr/alr-commands-show.adb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/alr/alr-commands-show.adb b/src/alr/alr-commands-show.adb index 5d246dba..b990e11b 100644 --- a/src/alr/alr-commands-show.adb +++ b/src/alr/alr-commands-show.adb @@ -235,7 +235,9 @@ package body Alr.Commands.Show is begin Put_Line ("---"); Put_Line ("layout: crate"); - Put_Line (Rel.To_YAML); + -- TODO: conditional expressions can't be exported yet, we report in + -- the interim the ones that apply to the current system. + Put_Line (Rel.Whenever (Platform.Properties).To_YAML); Put_Line ("---"); Put_Line (Rel.Long_Description); Put_Line (Rel.Notes); -- 2.39.5