# Regenerates this client using lockstep
regen:
    lockstep gen \
      --model ../model/main.lox \
      --out-dir .. \
      --artifact-name client_py \
      --artifact-type python-client \
      --artifact-version 0.1.0 \
      --python-package-name rhetoric \
      --pyproject-additional-props '{ \
            "project": { \
                "name": "rhetoric_py", \
                "description": "Python client for the Rhetoric efiling service.", \
                "license": "MIT", \
                "keywords": ["rhetoric", "efiling", "api-client"] \
            } \
        }'

# Builds the client
build:
    rm -rf dist
    uv build

# Publishes the client to pypi
publish: build
    uv publish
