Files

15 lines
294 B
Bash
Raw Permalink Normal View History

set -e
# Check if the first argument is provided
if [ $# -eq 0 ]
then
echo "Error: No example-to-run provided."
exit 1
fi
# Move to the right example folder
cd $1
# Run the example
mypy --show-column-numbers --config-file ../../photon-lib/py/pyproject.toml .
python3 -m robotpy sim