add serve target to Makefile

This commit is contained in:
Willem van den Ende 2026-07-08 14:22:09 +01:00
parent 10c02f5c6a
commit 9238ecb7f3

View File

@ -26,6 +26,10 @@ test:
format: format:
@make -C app format @make -C app format
# Serve the app
serve:
@cd app && mix phx.server
# Run Playwright browser-based tests (requires running server) # Run Playwright browser-based tests (requires running server)
# Set PLAYWRIGHT_BASE_URL to point at the running Phoenix app # Set PLAYWRIGHT_BASE_URL to point at the running Phoenix app
playwright: playwright:
@ -49,4 +53,4 @@ playwright-docker-start:
# Stop Docker Chrome container # Stop Docker Chrome container
playwright-docker-stop: playwright-docker-stop:
@make -C app playwright-docker-stop @make -C app playwright-docker-stop