diff options
author | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-09-16 18:28:49 +0200 |
---|---|---|
committer | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-09-30 11:16:07 +0200 |
commit | 83e23309a1c8070294b482b168d00cfa8f386b75 (patch) | |
tree | e64a613ef7bafbb107937111888c57b12eef55e9 /scripts/poe-tasks | |
parent | meson.build: use non-standard prefix for run_dir (diff) | |
download | knot-resolver-83e23309a1c8070294b482b168d00cfa8f386b75.tar.xz knot-resolver-83e23309a1c8070294b482b168d00cfa8f386b75.zip |
scripts/poe-tasks: ./configure not required for some tasks
Diffstat (limited to 'scripts/poe-tasks')
-rwxr-xr-x | scripts/poe-tasks/check | 3 | ||||
-rwxr-xr-x | scripts/poe-tasks/examples | 2 | ||||
-rwxr-xr-x | scripts/poe-tasks/man | 11 | ||||
-rwxr-xr-x | scripts/poe-tasks/test | 2 |
4 files changed, 1 insertions, 17 deletions
diff --git a/scripts/poe-tasks/check b/scripts/poe-tasks/check index 2bf380b9..d7766c20 100755 --- a/scripts/poe-tasks/check +++ b/scripts/poe-tasks/check @@ -14,8 +14,6 @@ function check_rv { aggregate_rv=$(( $aggregate_rv + $1 )) } -is_buil_dir_configured - # stop failing early, because we wouldn't do anything else than fail set +e @@ -84,6 +82,7 @@ else echo -e "${red}These commands might help you:${reset}" echo -e "${red}\tpoe format${reset}" echo -e "${red}\tpoe gen-setuppy${reset}" + echo -e "${red}\tpoe doc-schema${reset}" echo -e "${red}That's not great. Could you please fix that?${reset} 😲😟" fi diff --git a/scripts/poe-tasks/examples b/scripts/poe-tasks/examples index 8a211bad..d4437203 100755 --- a/scripts/poe-tasks/examples +++ b/scripts/poe-tasks/examples @@ -4,8 +4,6 @@ src_dir="$(dirname "$(realpath "$0")")" source $src_dir/utils/_env.sh -is_buil_dir_configured - # validate all configuration examples for example in $PWD/etc/config/config.example.*.yaml; do diff --git a/scripts/poe-tasks/man b/scripts/poe-tasks/man deleted file mode 100755 index 62092de0..00000000 --- a/scripts/poe-tasks/man +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -# ensure consistent behaviour -src_dir="$(dirname "$(realpath "$0")")" -source $src_dir/utils/_env.sh - -meson_setup_configure - -ninja_install - -man -l .install/share/man/man8/$1* diff --git a/scripts/poe-tasks/test b/scripts/poe-tasks/test index 2afad2a0..85fd6089 100755 --- a/scripts/poe-tasks/test +++ b/scripts/poe-tasks/test @@ -4,7 +4,5 @@ src_dir="$(dirname "$(realpath "$0")")" source $src_dir/utils/_env.sh -is_buil_dir_configured - # run pytest env PYTHONPATH=. pytest --junitxml=unit.junit.xml --cov=python/knot_resolver --show-capture=all tests/manager |