mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-15 14:50:26 -07:00
16 lines
296 B
Bash
Executable File
16 lines
296 B
Bash
Executable File
#!/bin/sh
|
|
venv_path=".venv"
|
|
if [ -d $venv_path ]; then
|
|
venv_init=false
|
|
else
|
|
venv_init=true
|
|
fi
|
|
$venv_init && python3 -m venv $venv_path
|
|
source $venv_path/bin/activate
|
|
$venv_init && pip3 install -r requirements.txt
|
|
echo "Testing environment"
|
|
python3 printer.py -f MX06 - <<EOF
|
|
P4
|
|
384 0
|
|
EOF
|