SDL-mirror/test/test-automation/build-scripts/distclean.sh
2011-08-06 19:17:05 +03:00

17 lines
251 B
Bash
Executable file

#! /bin/bash
DIRECTORY="tests"
EXT="error"
PLATFORM="$(uname)"
if [[ $PLATFORM == "Linux" ]]; then
EXT="so"
elif [[ $PLATFORM == "Darwin" ]]; then
EXT="dylib"
fi
echo "Debug: $DIRECTORY/*.$EXT"
rm -f $DIRECTORY/*.$EXT
rm -f runner
rm -f *.bmp