Statistics
| Branch: | Tag: | Revision:

notecipher / setup-ant.sh @ master

History | View | Annotate | Download (432 Bytes)

1 2bf44a9d Abel Luck
#!/bin/sh
2
3
projectname=`sed -n 's,.*name="app_name">\(.*\)<.*,\1,p' app/res/values/strings.xml`
4 9443ce52 Abel Luck
target="android-19"
5 2bf44a9d Abel Luck
6
echo "Setting up build for $projectname"
7
echo ""
8
9
for f in `find external/ -name project.properties`; do
10
projectdir=`dirname $f`
11
    echo "Updating ant setup in $projectdir:"
12 9443ce52 Abel Luck
    android update lib-project -p $projectdir -t $target
13 2bf44a9d Abel Luck
done
14 9443ce52 Abel Luck
android update project -p app/ --subprojects --name "$projectname" -t $target