From 122395e0d0322541a562d26cfaa1f5a2516f0ef3 Mon Sep 17 00:00:00 2001 From: brianleroux Date: Wed, 6 Oct 2010 11:51:42 -0700 Subject: [PATCH] small tweaks to the build script --- README.md | 9 +++------ bin/droidgap | 15 +++------------ 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index a8c6c6a2..4ccdc6b5 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Pre Requisites Install ------- -On OS X add PhoneGap/Android to your PATH variable like so: +On any POSIX machine add PhoneGap/Android to your PATH variable like so: export PATH=$PATH:~/phonegap-android/bin @@ -21,7 +21,7 @@ On Windows add the phonegap-android/bin to your PATH as normal. DroidGap: PhoneGap/Android Dev Script ------------------------------------- -Useful utilities for developers building mobile apps using PhoneGap for Android. +Tools for developers building mobile apps using PhoneGap for Android. Usage: @@ -32,13 +32,10 @@ Commands:
 	help ...... See this message. Type help [command name] to see specific help topics.
 	gen ....... Generate an example PhoneGap application to current directory.
-	create .... Creates an Android compatible project from a www folder. Careful, this clobbers previous packaging.
+	create .... Creates an Android compatible project from a WWW folder. 
 	classic ... Backwards support for droidgap script. Run "droidgap help classic" for more info.
-	run ....... Installs a valid PhoneGap Project to first device found.
-	log ....... Attach a logger that listens for console.log statements.
 	update .... Copy a fresh phonegap.jar and phonegap.js into a valid PhoneGap/Android project.
 	test ...... Gets edge copy of mobile-spec and runs in first device or emulator attached.
-	ship ...... Build and sign an APK suitable for submission to an Android Marketplace.
 
Quickstart: diff --git a/bin/droidgap b/bin/droidgap index 7c51f959..dc75bbdd 100755 --- a/bin/droidgap +++ b/bin/droidgap @@ -61,25 +61,16 @@ if ARGV.first.nil? || ARGV.first == 'help' help ...... See this message. Type help [command name] to see specific help topics. gen ....... Generate an example PhoneGap application to current directory. - create .... Creates an Android compatible project from a www folder. Careful, this clobbers previous packaging. + create .... Creates an Android compatible project from a WWW folder. classic ... Backwards support for droidgap script. Run "droidgap help classic" for more info. - run ....... Installs a valid PhoneGap Project to first device found. - log ....... Attach a logger that listens for console.log statements. update .... Copy a fresh phonegap.jar and phonegap.js into a valid PhoneGap/Android project. - test ...... Gets edge copy of mobile-spec and runs in first device or emulator attached. ship ...... Build and sign an APK suitable for submission to an Android Marketplace. Quickstart: $ droidgap gen example $ cd example - $ droidgap create - $ cd ../example_android - $ droidgap run - - Now you can launch your app and optionally start a logger with: - - $ droidgap log + $ ant debug install && adb logcat EOF @@ -140,7 +131,7 @@ if ARGV.first.nil? || ARGV.first == 'help' DroidGap Create ---------------- - Creates an Android compatable project from a PhoneGap project. For example, if you have MyProject with index.html this command will create MyProject-android. + Creates an Android compatable project from a PhoneGap project. For example, if you have MyProject with index.html this command will create MyProject_android. Usage: