diff options
Diffstat (limited to 'maven/make-tests-clean.sh')
-rwxr-xr-x | maven/make-tests-clean.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/maven/make-tests-clean.sh b/maven/make-tests-clean.sh new file mode 100755 index 0000000..9869060 --- /dev/null +++ b/maven/make-tests-clean.sh @@ -0,0 +1,25 @@ +#!/bin/sh -ex + +info() +{ + echo "make-tests-clean: info: $1" 1>&2 +} + +fatal() +{ + echo "make-tests-clean: fatal: $1" 1>&2 + exit 1 +} + +CURRENT_DIR=`pwd` || + fatal "could not save current working directory" + +cd tests + +rm -f pom.xml + +for d in test-* +do + rm -f "${d}/pom.xml" +done + |