Merge doveauth and filtermail folders

This commit is contained in:
link2xt 2023-10-15 16:04:38 +00:00
parent b548a8ddbd
commit 40ad67dc20
12 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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",

View File

@ -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