fix: fix built wheel to include custom buefy css

This commit is contained in:
Lance Edgar 2026-02-07 12:30:22 -06:00
parent f42761f359
commit d070caae05
2 changed files with 5 additions and 1 deletions

View file

@ -71,3 +71,7 @@ exclude = [
[tool.hatch.build.targets.sdist.force-include]
# nb. this is necessary due to git ignoring this file (iiuc)
"src/wuttafarm/web/static/css/wuttafarm-buefy.css" = "src/wuttafarm/web/static/css/wuttafarm-buefy.css"
[tool.hatch.build.targets.wheel.force-include]
# nb. this is necessary due to git ignoring this file (iiuc)
"src/wuttafarm/web/static/css/wuttafarm-buefy.css" = "src/wuttafarm/web/static/css/wuttafarm-buefy.css"

View file

@ -25,7 +25,7 @@ def release(c, skip_tests=False):
# custom styles for buefy
update_style(c)
c.run("python -m build --sdist")
c.run("python -m build")
c.run("twine upload dist/*")