ant-prepare.sh: also set up test suite, should not affect normal ant builds

This adds the command to update the embedded Android Test Project, so that
it can be run using `cd test/; ant clean emma debug install test`

It also changes -p to --path just to make things a little easier to read.
This commit is contained in:
Hans-Christoph Steiner 2014-02-13 21:53:52 -05:00
parent 113ae202b7
commit 9871ad0f01
2 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,10 @@
#!/bin/bash -ex
android update lib-project -p extern/Universal-Image-Loader/library
android update lib-project -p extern/AndroidPinning
android update lib-project -p extern/MemorizingTrustManager
android update project -p . --name F-Droid
android update lib-project --path extern/Universal-Image-Loader/library
android update lib-project --path extern/AndroidPinning
android update lib-project --path extern/MemorizingTrustManager
android update project --path . --name F-Droid
# technically optional, needed for the tests
cd test
android update test-project --path ./ --main ../

View File

@ -15,4 +15,4 @@
# 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target.
tested.project.dir=/home/pete/code/fdroid/client
tested.project.dir=../