cordova-android/bin/debug
2011-08-20 13:57:19 -07:00

18 lines
236 B
Bash
Executable File

#! /bin/sh
#
# USAGE
# ./debug [path]
#
set -e
PROJECT_PATH=${1:-$PWD}
# go to the proj
cd $PROJECT_PATH
# compile and install to the first device
ant debug install
# start the app
adb shell am start -n $(cat ./package-activity)