pull/30/head
deadc0de6 1 year ago
parent 933f6efd2d
commit 0740626ef8

@ -10,7 +10,7 @@ rl="readlink -f"
if ! ${rl} "${0}" >/dev/null 2>&1; then if ! ${rl} "${0}" >/dev/null 2>&1; then
rl="realpath" rl="realpath"
if ! hash ${rl}; then if ! command -v ${rl}; then
echo "\"${rl}\" not found !" && exit 1 echo "\"${rl}\" not found !" && exit 1
fi fi
fi fi
@ -23,7 +23,7 @@ cd "${prev}"
# coverage # coverage
#export PYTHONPATH=".:${PYTHONPATH}" #export PYTHONPATH=".:${PYTHONPATH}"
bin="python3 -m catcli.catcli" bin="python3 -m catcli.catcli"
if hash coverage 2>/dev/null; then if command -v coverage 2>/dev/null; then
bin="coverage run -p --source=catcli -m catcli.catcli" bin="coverage run -p --source=catcli -m catcli.catcli"
#bin="coverage run -p --source=${prev}/catcli -m catcli.catcli" #bin="coverage run -p --source=${prev}/catcli -m catcli.catcli"
fi fi

@ -76,7 +76,7 @@ done
# check shells # check shells
echo "[+] shellcheck" echo "[+] shellcheck"
if ! which shellcheck >/dev/null 2>&1; then if ! command -v shellcheck >/dev/null 2>&1; then
echo "Install shellcheck" echo "Install shellcheck"
exit 1 exit 1
fi fi

Loading…
Cancel
Save