From: Oto Šťáva Date: Tue, 27 Aug 2024 12:41:52 +0000 (+0200) Subject: poe: fix out-of-repo workspaces + ignores X-Git-Tag: v6.0.9~26^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ec1b6479fed33f7928cce1180f9d9ca5168c1e2;p=thirdparty%2Fknot-resolver.git poe: fix out-of-repo workspaces + ignores --- diff --git a/.gitignore b/.gitignore index cccbf64d9..fba277042 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,7 @@ /ar-lib /autom4te.cache/* /bench/bench_lru +/build*/ /compile /compile_commands.json /config.guess @@ -83,13 +84,10 @@ kresd.amalg.c libkres.amalg.c luacov.*.out **/__pycache__/ -build/ dist/ .coverage .mypy_cache .install_kresd/ .build_kresd/ -build_dist -build_doc poetry.lock *.junit.xml diff --git a/poe b/poe index 74647def4..d1f58894c 100755 --- a/poe +++ b/poe @@ -1,3 +1,4 @@ #!/bin/sh -exec poetry run poe "$@" +script_dir="$(dirname "$(readlink -f "$0")")" +exec poetry --directory "$script_dir" run poe --root "$script_dir" "$@"