Files
flame/scripts/lint.sh
2021-02-22 15:59:40 -05:00

14 lines
212 B
Bash
Executable File

#!/usr/bin/env bash
./scripts/format.sh
if [ $? -eq 1 ]; then
echo "Formatting failed!"
exit 1
fi
./scripts/analyze.sh
if [ $? -eq 1 ]; then
echo "Analyzing failed!"
exit 1
fi
echo "Succesfully linted!"