Fix example deletion code for Windows.

This commit is contained in:
Sönke Ludwig 2020-11-26 08:31:46 +01:00
parent 3ab9283986
commit 494a835adc

View file

@ -18,7 +18,8 @@ if [ ${BUILD_EXAMPLE=1} -eq 1 ]; then
dub build --compiler=$DC --override-config eventcore/$CONFIG --single $ex dub build --compiler=$DC --override-config eventcore/$CONFIG --single $ex
done done
rm -rf examples/.dub/ rm -rf examples/.dub/
rm examples/*-example rm -f examples/*-example
rm -f examples/*-example.exe
fi fi
if [ ${RUN_TEST=1} -eq 1 ]; then if [ ${RUN_TEST=1} -eq 1 ]; then
for ex in `\ls -1 tests/*.d`; do for ex in `\ls -1 tests/*.d`; do