wutta-demo/tasks.py
Lance Edgar c0ff89fec3 fix: format all code with black
and from now on should not deviate from that...
2025-08-31 13:11:31 -05:00

21 lines
316 B
Python

# -*- coding: utf-8; -*-
"""
Tasks for Wutta Demo
"""
import os
import shutil
from invoke import task
@task
def release(c):
"""
Release a new version of Wutta Demo
"""
if os.path.exists("dist"):
shutil.rmtree("dist")
c.run("python -m build --sdist")
c.run("twine upload dist/*")