Merge doveauth and filtermail folders
This commit is contained in:
parent
b548a8ddbd
commit
40ad67dc20
@ -10,9 +10,9 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
doveauth = "doveauth.doveauth:main"
|
doveauth = "chatmaild.doveauth:main"
|
||||||
doveauth-dictproxy = "doveauth.dictproxy:main"
|
doveauth-dictproxy = "chatmaild.dictproxy:main"
|
||||||
filtermail = "filtermail.filtermail:main"
|
filtermail = "chatmaild.filtermail:main"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = "-v -ra --strict-markers"
|
addopts = "-v -ra --strict-markers"
|
||||||
|
@ -35,7 +35,7 @@ def _install_chatmaild() -> None:
|
|||||||
)
|
)
|
||||||
|
|
||||||
files.put(
|
files.put(
|
||||||
src=importlib.resources.files("doveauth")
|
src=importlib.resources.files("chatmaild")
|
||||||
.joinpath("doveauth-dictproxy.service")
|
.joinpath("doveauth-dictproxy.service")
|
||||||
.open("rb"),
|
.open("rb"),
|
||||||
dest="/etc/systemd/system/doveauth-dictproxy.service",
|
dest="/etc/systemd/system/doveauth-dictproxy.service",
|
||||||
@ -58,7 +58,7 @@ def _install_chatmaild() -> None:
|
|||||||
)
|
)
|
||||||
|
|
||||||
files.put(
|
files.put(
|
||||||
src=importlib.resources.files("filtermail")
|
src=importlib.resources.files("chatmaild")
|
||||||
.joinpath("filtermail.service")
|
.joinpath("filtermail.service")
|
||||||
.open("rb"),
|
.open("rb"),
|
||||||
dest="/etc/systemd/system/filtermail.service",
|
dest="/etc/systemd/system/filtermail.service",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
pushd doveauth/src/doveauth
|
pushd chatmaild/src/chatmaild
|
||||||
../../venv/bin/pytest
|
../../venv/bin/pytest
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user