fix: fix built wheel to include custom buefy css
This commit is contained in:
parent
f42761f359
commit
d070caae05
2 changed files with 5 additions and 1 deletions
|
|
@ -71,3 +71,7 @@ exclude = [
|
||||||
[tool.hatch.build.targets.sdist.force-include]
|
[tool.hatch.build.targets.sdist.force-include]
|
||||||
# nb. this is necessary due to git ignoring this file (iiuc)
|
# 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"
|
"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"
|
||||||
|
|
|
||||||
2
tasks.py
2
tasks.py
|
|
@ -25,7 +25,7 @@ def release(c, skip_tests=False):
|
||||||
# custom styles for buefy
|
# custom styles for buefy
|
||||||
update_style(c)
|
update_style(c)
|
||||||
|
|
||||||
c.run("python -m build --sdist")
|
c.run("python -m build")
|
||||||
c.run("twine upload dist/*")
|
c.run("twine upload dist/*")
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue