Debian Codegraph @

scripts/poe-tasks/clean

raw symbols SCIP
1 #!/usr/bin/env bash
2
3 # ensure consistent behaviour
4 src_dir="$(dirname "$(realpath "$0")")"
5 source $src_dir/utils/_env.sh
6
7 echo
8 echo --------------------------------------------
9 echo Removing mypy, pytest and other cached files
10 echo --------------------------------------------
11 rm -vrf .coverage .mypy_cache .pytest_cache
12 echo
13 echo ------------------------------------------
14 echo Removing Meson build directories and files
15 echo ------------------------------------------
16 rm -vrf "$build_dir" "$build_dev_dir" "$KRES_DEV_INSTALL_DIR" build dist
17 echo
18 echo ------------------------------------------
19 echo Removing __pycache__ directories and files
20 echo ------------------------------------------
21 find . -type d -name '__pycache__' -prune -exec rm -vrf {} +
22 echo