2014-05-29 13:31:05 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-07-22 21:05:49 +02:00
|
|
|
target="android-20"
|
|
|
|
|
|
|
|
# Travis doesn't support android-20 yet
|
|
|
|
if [ -n "$TRAVIS" ]; then
|
|
|
|
target="android-19";
|
|
|
|
fi
|
2014-05-29 13:31:05 -04:00
|
|
|
|
2014-07-20 15:57:59 +02:00
|
|
|
# Update ant setup in project and all sub-projects
|
2014-05-29 13:31:05 -04:00
|
|
|
for f in `find external/ -name project.properties`; do
|
2014-07-20 15:57:59 +02:00
|
|
|
projectdir=`dirname $f`
|
2014-05-29 13:31:05 -04:00
|
|
|
echo "Updating ant setup in $projectdir:"
|
|
|
|
android update lib-project -p $projectdir -t $target
|
|
|
|
done
|
|
|
|
android update project -p . --subprojects -t $target --name Lightning
|
2014-07-22 18:36:36 -04:00
|
|
|
|