From: Aleš Mrázek Date: Thu, 1 Aug 2024 13:46:22 +0000 (+0200) Subject: scripts/poe-tasks: scripts and pyproject.toml tasks names unification X-Git-Tag: v6.0.9~27^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee6768ee7572f02a768b7429169b9fdd611799ef;p=thirdparty%2Fknot-resolver.git scripts/poe-tasks: scripts and pyproject.toml tasks names unification --- diff --git a/pyproject.toml b/pyproject.toml index 4dcba00e4..4263fc4e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,12 +69,12 @@ kresctl = 'knot_resolver_manager.cli.main:main' knot-resolver = 'knot_resolver_manager.__main__:run' [tool.poe.tasks] -configure = { cmd = "scripts/poe-tasks/meson-configure", help = "Configure Knot Resolver daemon" } +configure = { cmd = "scripts/poe-tasks/configure", help = "Configure Knot Resolver daemon" } run = { cmd = "scripts/poe-tasks/run", help = "Run the manager" } run-debug = { cmd = "scripts/poe-tasks/run-debug", help = "Run the manager under debugger" } docs = { cmd = "scripts/poe-tasks/docs", help = "Create HTML documentation" } test = { shell = "env PYTHONPATH=. pytest --junitxml=unit.junit.xml --cov=manager/knot_resolver_manager --show-capture=all tests/manager", help = "Run tests" } -check = { cmd = "scripts/poe-tasks/codecheck", help = "Run static code analysis" } +check = { cmd = "scripts/poe-tasks/check", help = "Run static code analysis" } format = { shell = "black manager/knot_resolver_manager/ tests/manager scripts/create_setup.py manager/build_c_extensions.py; isort .", help = "Run code formatter" } fixdeps = { shell = "poetry install; npm install; npm update", help = "Install/update dependencies according to configuration files"} examples = { cmd = "scripts/poe-tasks/examples", help = "Validate all configuration examples" } diff --git a/scripts/poe-tasks/codecheck b/scripts/poe-tasks/check similarity index 100% rename from scripts/poe-tasks/codecheck rename to scripts/poe-tasks/check diff --git a/scripts/poe-tasks/meson-configure b/scripts/poe-tasks/configure similarity index 100% rename from scripts/poe-tasks/meson-configure rename to scripts/poe-tasks/configure