leo/.circleci/lottery/run.sh
2023-12-11 13:19:42 -08:00

10 lines
179 B
Bash

#!/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