47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
.PHONY: dev check format test typecheck web-check browser-test schemas api-types pack-manifest boundaries benchmark-search
|
|||
|
|
|
||
|
|
dev:
|
||
|
|
GEWU_DATA_ROOT=$${GEWU_DATA_ROOT:-./.data/gewu} ./scripts/python-tool uvicorn gewu.bootstrap.app:create_local_app --factory --reload
|
||
|
|
|
||
|
|
provision-credential:
|
||
|
|
./scripts/python-tool python scripts/provision_credential.py $(ARGS)
|
||
|
|
|
||
|
|
seed-test-registry:
|
||
|
|
./scripts/python-tool python scripts/seed_test_registry.py $(ARGS)
|
||
|
|
|
||
|
|
check:
|
||
|
|
./scripts/python-tool ruff check .
|
||
|
|
|
||
|
|
format:
|
||
|
|
./scripts/python-tool ruff format .
|
||
|
|
|
||
|
|
test:
|
||
|
|
./scripts/python-tool pytest
|
||
|
|
|
||
|
|
typecheck:
|
||
|
|
./scripts/python-tool mypy src
|
||
|
|
|
||
|
|
web-check:
|
||
|
|
npm --prefix web run check
|
||
|
|
|
||
|
|
browser-test:
|
||
|
|
npm --prefix web run test:e2e
|
||
|
|
|
||
|
|
schemas:
|
||
|
|
./scripts/python-tool python scripts/export_schemas.py
|
||
|
|
./scripts/python-tool python scripts/export_catalog.py
|
||
|
|
./scripts/python-tool python scripts/export_agent_contract.py
|
||
|
|
|
||
|
|
api-types: schemas
|
||
|
|
./scripts/python-tool python scripts/export_openapi.py
|
||
|
|
npm --prefix web run generate:api-types
|
||
|
|
|
||
|
|
pack-manifest:
|
||
|
|
python agents/gewu/scripts/manifest_tool.py refresh
|
||
|
|
|
||
|
|
boundaries:
|
||
|
|
./scripts/python-tool python scripts/check_boundaries.py
|
||
|
|
|
||
|
|
benchmark-search:
|
||
|
|
./scripts/python-tool python scripts/benchmark_search.py $(ARGS)
|
||
|
|
|