guake-guake/scripts/run-local.sh
Louie Lu ed14b771a0 Add verbose option to run-local and make run
Now we can run guake with verbose when `make run`:

    $ make run V=1
2019-04-17 07:12:49 +02:00

23 lines
362 B
Bash
Executable File

#!/bin/bash
echo "execute Guake GTK3 for developer."
if test "$1" == "-v"; then
VERBOSE="-v";
fi
VIRTUALENV_PATH=$(pipenv --venv)
source $VIRTUALENV_PATH/bin/activate
bash <<EOF
python 2>/dev/null <<EOC
import gi
EOC
if [ \$? -eq 1 ]; then
pew toggleglobalsitepackages
fi
PYTHONPATH=. python3 guake/main.py --no-startup-script $VERBOSE
echo "Done"
EOF