feat: initial basic app to prove display of API (animal) data

This commit is contained in:
Lance Edgar 2026-02-03 19:34:35 -06:00
parent 54ff9d5d83
commit e0f91417cb
23 changed files with 950 additions and 40 deletions

24
tasks.py Normal file
View file

@ -0,0 +1,24 @@
# -*- coding: utf-8; -*-
"""
Tasks for WuttaFarm
"""
import os
import shutil
from invoke import task
@task
def release(c, skip_tests=False):
"""
Release a new version of WuttaFarm
"""
if not skip_tests:
c.run("pytest")
if os.path.exists("dist"):
shutil.rmtree("dist")
c.run("python -m build --sdist")
c.run("twine upload dist/*")