From a9641b9731213a7d70247dcc46dcfc1c846df03b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 25 Jan 2024 20:18:57 +0300 Subject: [PATCH] bin: Improve `compyle` Ignore error code. Exclude `tox` and virtual env directories. --- bin/compyle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compyle b/bin/compyle index 4050467..da48caf 100755 --- a/bin/compyle +++ b/bin/compyle @@ -5,5 +5,5 @@ if [ -z "$1" ]; then exit 1 fi - python$PY_VER -m compileall "$@" && -exec python$PY_VER -O -m compileall "$@" + python$PY_VER -m compileall -x '\.tox/' -x '\.venv/' -x 'venv/' "$@" +exec python$PY_VER -O -m compileall -x '\.tox/' -x '\.venv/' -x 'venv/' "$@" -- 2.39.5