Skip to content

Instantly share code, notes, and snippets.

@maks
Created January 13, 2012 03:22
Show Gist options
  • Save maks/1604417 to your computer and use it in GitHub Desktop.
Save maks/1604417 to your computer and use it in GitHub Desktop.
simple bash script to run android ant test target
#!/bin/sh
if [ $1 ]; then
SET_DEVICE="-Dadb.device.arg=\"-s $1\""
fi
echo $SET_DEVICE
ant clean
cd tests
ant $SET_DEVICE clean debug install test && date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment