Mercurial > hg > audiodb
view libtests/clean.sh @ 553:ea341e68649f
Produce embryonic example of integration with runner ("sonic annotator")
There's much that is hardwired (though a bit less than in the example
sent by e-mail to Casey, Cannam and Raimond). More needs to be done,
including thinking about how a typical user will actually be using the
combination of tools; this code is proof-of-concept more than anything
else.
author | mas01cr |
---|---|
date | Fri, 13 Feb 2009 11:23:10 +0000 |
parents | cd63493c32a9 |
children |
line wrap: on
line source
#! /bin/sh for file in [0-9][0-9][0-9][0-9]*; do if [ -d ${file} ]; then echo Cleaning ${file} rm -f ${file}/test* (cd ${file} && make -f ../libtest.mk clean >/dev/null 2>&1) if [ -f ${file}/clean.sh ]; then (cd ${file} && sh ./clean.sh) fi fi done