19 lines
503 B
Makefile
19 lines
503 B
Makefile
# Set the shell to bash (default is sh)
|
|
set shell := ["bash", "-c"]
|
|
|
|
# List all available commands when someone just types 'just'
|
|
default:
|
|
@just --list
|
|
|
|
# Run tests for ALL services (using find loop)
|
|
test-all:
|
|
find services -name "pyproject.toml" -execdir uv run pytest \;
|
|
|
|
# Sync all envs
|
|
sync-all:
|
|
find services -name "pyproject.toml" -execdir uv sync \;
|
|
|
|
# Run tests for a SPECIFIC service (e.g., 'just test master')
|
|
test service:
|
|
cd services/{{service}}/current/app && uv run pytest
|