From f2fa29e5ef5c8c7d7375e4c8a37dbba1012fb95c Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 3 May 2024 11:32:44 +0200 Subject: `./charon-pin` stores the current charon commit It is kept up-to-date in CI --- scripts/update-charon-pin.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/update-charon-pin.sh (limited to 'scripts') diff --git a/scripts/update-charon-pin.sh b/scripts/update-charon-pin.sh new file mode 100755 index 00000000..418602b8 --- /dev/null +++ b/scripts/update-charon-pin.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +if ! which jq 2> /dev/null 1>&2; then + echo 'Error: command `jq` not found.' + exit 1 +fi +echo '# This is the commit from https://github.com/AeneasVerif/charon that should be used with this version of aeneas.' > ./charon-pin +jq -r .nodes.charon.locked.rev flake.lock >> ./charon-pin -- cgit v1.2.3