1
0
mirror of https://github.com/containers/youki synced 2024-12-03 18:48:22 +01:00
youki/scripts/clean.sh
2022-11-30 12:13:03 +05:30

16 lines
347 B
Bash
Executable File

#! /bin/bash
# we don't set -eu here, as some of the binaries might be potentially be missing
# and that is fine, that means they are already removed.
for bin in youki integration_test runtimetest test.log; do
if [ -f $bin ]; then
rm ${1}/$bin
fi
done
rm -rf runtimetest-target
cargo clean
exit 0 # unconditionally return zero