mirror of
https://github.com/onyx-and-iris/obsws-cli.git
synced 2026-03-29 13:19:16 +00:00
scope hatch-dotenv to hatch-test env
This commit is contained in:
parent
ba61f7d9a1
commit
9e4071aace
@ -35,9 +35,6 @@ 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"]
|
|
||||||
|
|
||||||
[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"]
|
||||||
@ -47,6 +44,7 @@ man = "python man/generate.py --output=./man"
|
|||||||
|
|
||||||
[tool.hatch.envs.hatch-test]
|
[tool.hatch.envs.hatch-test]
|
||||||
randomize = true
|
randomize = true
|
||||||
|
requires = ["hatch-dotenv"]
|
||||||
|
|
||||||
[tool.hatch.env.collectors.dotenv.hatch-test]
|
[tool.hatch.env.collectors.dotenv.hatch-test]
|
||||||
env-files = [".env", ".test.env"]
|
env-files = [".env", ".test.env"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user