mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 11:00:01 +00:00
Remove commented line. Add a last step that remove the target folder after the build and the tests execution.
This commit is contained in:
@@ -30,14 +30,15 @@ if [[ "$testdir" != "$thisdir" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
find ../ -name "*.class" | xargs rm
|
find ../ -name "*.class" | xargs rm
|
||||||
#find .. -type f -name "*.class" -exec rm {} \;
|
|
||||||
|
|
||||||
if [[ -e "${targetdir}" ]]; then
|
if [[ -e "${targetdir}" ]]; then
|
||||||
echo "clean target"
|
echo "clean target"
|
||||||
rm -fr ${targetdir}
|
rm -rf ${targetdir}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir ${targetdir}
|
mkdir ${targetdir}
|
||||||
|
|
||||||
javac -d ${targetdir} -classpath ${testdir}/../java:${testdir}:${testdir}/namespace_test JavaTest.java
|
javac -d ${targetdir} -classpath ${testdir}/../java:${testdir}:${testdir}/namespace_test JavaTest.java
|
||||||
java -classpath ${targetdir} JavaTest
|
java -classpath ${targetdir} JavaTest
|
||||||
|
|
||||||
|
rm -rf ${targetdir}
|
||||||
|
|||||||
Reference in New Issue
Block a user