Statistics
| Branch: | Tag: | Revision:

notecipher / setup-ant.sh @ 9443ce52

History | View | Annotate | Download (432 Bytes)

1
#!/bin/sh
2

    
3
projectname=`sed -n 's,.*name="app_name">\(.*\)<.*,\1,p' app/res/values/strings.xml`
4
target="android-19"
5

    
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
    android update lib-project -p $projectdir -t $target
13
done
14
android update project -p app/ --subprojects --name "$projectname" -t $target