mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 09:10:03 +00:00
Add remove of remaining class files before running the build
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright 2014 Google Inc. All rights reserved.
|
# Copyright 2014 Google Inc. All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -29,7 +29,10 @@ if [[ "$testdir" != "$thisdir" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e "${targetdir}" ]; then
|
find ../ -name "*.class" | xargs rm
|
||||||
|
#find .. -type f -name "*.class" -exec rm {} \;
|
||||||
|
|
||||||
|
if [[ -e "${targetdir}" ]]; then
|
||||||
echo "clean target"
|
echo "clean target"
|
||||||
rm -fr ${targetdir}
|
rm -fr ${targetdir}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user