PIKApp/build/windows/jhbuild/clean

19 lines
262 B
Bash

#!/bin/bash
pushd checkout
rm -rf *-*/
find . -maxdepth 1 -type f -atime +25 -print -delete
for gitdir in babl gegl pika; do
pushd $gitdir
git clean -xdf
popd
done
popd
if [[ "$1" != "--skip-targets" ]]; then
echo "Cleaning targets"
rm -rf targets/*
fi