mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-04-20 16:03:38 +00:00
readd fail-on-missing
set min hatch-dotenv version
This commit is contained in:
@@ -35,6 +35,13 @@ obsws-cli = "obsws_cli:app"
|
|||||||
[tool.hatch.version]
|
[tool.hatch.version]
|
||||||
path = "obsws_cli/__about__.py"
|
path = "obsws_cli/__about__.py"
|
||||||
|
|
||||||
|
[tool.hatch.env]
|
||||||
|
requires = ["hatch-dotenv>=0.1.4"]
|
||||||
|
|
||||||
|
[tool.hatch.env.collectors.dotenv.hatch-test]
|
||||||
|
env-files = [".env", ".test.env"]
|
||||||
|
fail-on-missing = true
|
||||||
|
|
||||||
[tool.hatch.envs.default]
|
[tool.hatch.envs.default]
|
||||||
workspace.members = [{ path = "../obsws-python" }]
|
workspace.members = [{ path = "../obsws-python" }]
|
||||||
dependencies = ["click-man>=0.5.1"]
|
dependencies = ["click-man>=0.5.1"]
|
||||||
@@ -42,12 +49,6 @@ dependencies = ["click-man>=0.5.1"]
|
|||||||
[tool.hatch.envs.default.scripts]
|
[tool.hatch.envs.default.scripts]
|
||||||
man = "python man/generate.py --output=./man"
|
man = "python man/generate.py --output=./man"
|
||||||
|
|
||||||
[tool.hatch.env]
|
|
||||||
requires = ["hatch-dotenv"]
|
|
||||||
|
|
||||||
[tool.hatch.env.collectors.dotenv.hatch-test]
|
|
||||||
env-files = [".env", ".test.env"]
|
|
||||||
|
|
||||||
[tool.hatch.envs.hatch-test]
|
[tool.hatch.envs.hatch-test]
|
||||||
randomize = true
|
randomize = true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user