mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-26 07:11:16 +08:00
small tweaks to the build script
This commit is contained in:
parent
1231268a6b
commit
122395e0d0
@ -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:
|
||||
<pre>
|
||||
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.
|
||||
</pre>
|
||||
|
||||
Quickstart:
|
||||
|
15
bin/droidgap
15
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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user