name: rsmime
version: 1

up:
  - python: 3.12.0
  - run: pip install .[dev]

commands:
  build:
    description: Build the package
    tasks:
      - run: maturin build --release --strip

  develop:
    description: Develop the package
    tasks:
      - run: maturin develop  --release --strip

  test:
    description: Run tests
    tasks:
      - run: maturin develop  --release --strip
      - run: pytest -vv

  docs:
    description: Serve and watch documentation for development
    tasks:
      - run: mkdocs serve
