captains-log/justfile
Drew Galbraith b3dd711ea1
All checks were successful
Check / Backend (push) Successful in 14m3s
Check / Frontend (push) Successful in 2m13s
Forgejo Actions for both backend and frontend. (#13)
Reviewed-on: #13
Co-authored-by: Drew Galbraith <drew@tiramisu.one>
Co-committed-by: Drew Galbraith <drew@tiramisu.one>
2025-09-27 08:46:02 +00:00

31 lines
772 B
Makefile

# Root justfile for Captain's Log - coordinates both backend and frontend
import 'backend/justfile'
import 'frontend/justfile'
# Combined commands - run both backend and frontend
dev:
#!/usr/bin/env bash
set -e
echo "Starting backend and frontend servers..."
just dev-backend &
BACKEND_PID=$!
just dev-frontend &
FRONTEND_PID=$!
trap 'echo "Stopping servers..."; kill -TERM $BACKEND_PID $FRONTEND_PID 2>/dev/null || true; wait' EXIT
wait
build: build-backend build-frontend
test: test-unit-backend test-integration test-frontend
fmt: fmt-backend fmt-frontend
fmt-check: fmt-check-backend fmt-check-frontend
lint: lint-backend lint-frontend typecheck-frontend
check: fmt-check lint test
clean: clean-backend clean-frontend