Skip to content

Commit

Permalink
update script for setting up command line builds to standard setup-an…
Browse files Browse the repository at this point in the history
…t.sh
  • Loading branch information
eighthave committed Aug 30, 2013
1 parent 42d4e0b commit ea53b2b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 11 additions & 0 deletions setup-ant.sh
@@ -0,0 +1,11 @@
#!/bin/bash

if ! type -P android &> /dev/null; then
echo "Error: 'android' utility is not in your path."
echo " Did you forget to setup the SDK?"
exit 1
fi

projectname=`sed -n 's,.*name="app_name">\(.*\)<.*,\1,p' res/values/strings.xml`

android update project --path . --name $projectname --subprojects
5 changes: 0 additions & 5 deletions update-ant-build.sh

This file was deleted.

0 comments on commit ea53b2b

Please sign in to comment.