mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +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
|
||||
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user