Files
zkldi_Tachi/Justfile-apps
T
zk edda03e916 sunday 5th apr (rip mark hollis) (#52)
* lots of work

* feat: move rg-stats in, ensure consistency in db queries

* the clocks dont work

* almost

* ok jesus been and gone now back to usual
2026-04-06 01:25:30 +01:00

23 lines
426 B
Plaintext

start:
#!/bin/bash
ARGS=(server client)
echo "Starting: ${ARGS[@]}"
set -e
pids=()
for target in ${ARGS[@]}; do
(just "$target") &
pids+=($!)
done
trap 'echo "Stopping all..."; kill -TERM ${pids[@]}; wait' SIGINT
wait
server:
cd typescript/server && \
VERSION=$(jq -r .version package.json) \
COMMIT_HASH=$(git rev-parse --short HEAD) \
bun --watch src/main.ts
client:
cd typescript/client && bun vite