Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update script for setting up command line builds to standard setup-an…
…t.sh
- Loading branch information
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file was deleted.
Oops, something went wrong.