2014-05-29 17:31:05 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-07-22 19:05:49 +00:00
|
|
|
target="android-20"
|
|
|
|
|
|
|
|
# Travis doesn't support android-20 yet
|
|
|
|
if [ -n "$TRAVIS" ]; then
|
|
|
|
target="android-19";
|
|
|
|
fi
|
2014-05-29 17:31:05 +00:00
|
|
|
|
2014-07-20 13:57:59 +00:00
|
|
|
# Update ant setup in project and all sub-projects
|
2014-05-29 17:31:05 +00:00
|
|
|
for f in `find external/ -name project.properties`; do
|
2014-07-20 13:57:59 +00:00
|
|
|
projectdir=`dirname $f`
|
2014-05-29 17:31:05 +00: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 22:36:36 +00:00
|
|
|
|