spiderweb/test.sh
2023-01-07 23:15:43 +01:00

22 lines
225 B
Bash
Executable File

if [ $# -gt 0 ]
then
cd scripts || exit
if ! ./build.sh ${1}
then
cd ..
echo "terminated"
exit 1
fi
cd ..
fi
if [ "$1" == "-d" ]; then
flask --app webapp.py --debug run
else
flask --app webapp.py run
fi