From bed7d6f785279f8a14a04cd16b812a3034917f48 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 5 Feb 2022 17:52:44 -0300 Subject: [PATCH] log failed gems --- bulk-compiler.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bulk-compiler.sh b/bulk-compiler.sh index 18756c3..8552126 100755 --- a/bulk-compiler.sh +++ b/bulk-compiler.sh @@ -26,7 +26,11 @@ find build/ -type f | EXTRA_PKGS="${EXTRA_PKGS}" \ EXTRA_GEMS="${EXTRA_GEMS}" \ GEM_COMPILER_FLAGS="${GEM_COMPILER_FLAGS}" \ - /usr/local/bin/bootstrap + /usr/local/bin/bootstrap || true + + if test $? -ne 0 ; then + BUILT="failed/${ALPINE_VERSION}/${GEM_NAME}/${GEM_VERSION}" + fi dirname "${BUILT}" | xargs mkdir -p touch "${BUILT}"