blob: 0eb1005159d62f66deb919c3af664c4ba67422fb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
default:
just --list
create_serial_devices:
socat -d -d pty,raw,echo=0,link=/tmp/primary-serial pty,raw,echo=0,link=/tmp/secondary-serial &> /dev/null &
kill_serial_devices:
pkill socat
run:
just create_serial_devices
SERIAL_DEVICE=/tmp/primary-serial DEVELOPMENT=1 INSTANCE=primary rye run splitscreen_duo &
SERIAL_DEVICE=/tmp/secondary-serial DEVELOPMENT=1 INSTANCE=secondary rye run splitscreen_duo &
while pgrep python3 >/dev/null 2>&1; do sleep 1; done
just kill_serial_devices
format:
black src
|