Add clean script

This commit is contained in:
Jeremy Soller 2017-06-06 11:04:20 -06:00
parent 8acc25947d
commit 38e31db60f

16
clean.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -e
source config.sh
if [ $# = 0 ]
then
recipes="$(ls -1 recipes)"
else
recipes="$@"
fi
for recipe in $recipes
do
./cook.sh "$recipe" distclean
done