chore: skip elan test if no elan found

This commit is contained in:
Sebastian Ullrich 2022-07-08 23:12:11 +02:00 committed by Mac
parent 49a025889a
commit b57ca74794

View file

@ -1,6 +1,9 @@
#!/usr/bin/env bash
set -euxo pipefail
# skip if no elan found
command -v elan > /dev/null || (echo "elan not found; skipping test"; exit 0)
./clean.sh
lake +leanprover/lean4:4.0.0-m3 new foo
cd foo