leo/.circleci/lottery/run.sh
2024-05-15 20:52:30 -07:00

10 lines
179 B
Bash
Executable File

#!/bin/bash
# First check that Leo is installed.
if ! command -v leo &> /dev/null
then
echo "leo is not installed."
exit
fi
# Run the lottery example
leo run play || exit