blob: dfff4c909cf2c8ecaa353d29fd11dda6843775d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
just kill_serial_devices
|