mirror of
https://github.com/coulisse/spiderweb.git
synced 2024-09-21 07:27:09 +00:00
22 lines
256 B
Bash
Executable File
22 lines
256 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 --exclude-patterns *webapp.log*
|
|
else
|
|
flask --app webapp.py run
|
|
fi
|
|
|
|
|
|
|
|
|