#!/bin/bash
set -eo pipefail
DIR=$(dirname $0)
cd $DIR
[ "$NOPULL" != "0" ] && git pull
poetry lock
poetry -C $DIR/libreticmenu install
poetry -C $DIR/libreticmenu run python $DIR/libreticmenu/libreticmenu.py $*