Commit afd230af authored by Romain Gilles's avatar Romain Gilles

Remove commented line. Add a last step that remove the target folder after the…

Remove commented line. Add a last step that remove the target folder after the build and the tests execution.
parent 3bb9b839
......@@ -30,14 +30,15 @@ if [[ "$testdir" != "$thisdir" ]]; then
fi
find ../ -name "*.class" | xargs rm
#find .. -type f -name "*.class" -exec rm {} \;
if [[ -e "${targetdir}" ]]; then
echo "clean target"
rm -fr ${targetdir}
rm -rf ${targetdir}
fi
mkdir ${targetdir}
javac -d ${targetdir} -classpath ${testdir}/../java:${testdir}:${testdir}/namespace_test JavaTest.java
java -classpath ${targetdir} JavaTest
rm -rf ${targetdir}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment