mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 09:02:50 +08:00
Ticket 80: running "droidgap gen example" leads to recursive directory creation. README fix included.
This commit is contained in:
parent
7ebf8130e4
commit
040194157f
@ -31,7 +31,7 @@ Commands:
|
|||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
help ...... See this message. Type help [command name] to see specific help topics.
|
help ...... See this message. Type help [command name] to see specific help topics.
|
||||||
gen ....... Generate an example PhoneGap application to current directory.
|
gen ....... Generate the example PhoneGap application to current directory (or optionally provide an output directory as parameter).
|
||||||
create .... Creates an Android compatible project from a WWW folder.
|
create .... Creates an Android compatible project from a WWW folder.
|
||||||
classic ... Backwards support for droidgap script. Run "droidgap help classic" for more info.
|
classic ... Backwards support for droidgap script. Run "droidgap help classic" for more info.
|
||||||
update .... Copy a fresh phonegap.jar and phonegap.js into a valid PhoneGap/Android project.
|
update .... Copy a fresh phonegap.jar and phonegap.js into a valid PhoneGap/Android project.
|
||||||
@ -41,8 +41,8 @@ Commands:
|
|||||||
Quickstart:
|
Quickstart:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
$ droidgap gen example
|
$ droidgap gen exampleapp
|
||||||
$ cd example
|
$ cd exampleapp
|
||||||
$ ant debug install && adb logcat
|
$ ant debug install && adb logcat
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
10
bin/droidgap
10
bin/droidgap
@ -60,7 +60,7 @@ if ARGV.first.nil? || ARGV.first == 'help'
|
|||||||
Commands:
|
Commands:
|
||||||
|
|
||||||
help ...... See this message. Type help [command name] to see specific help topics.
|
help ...... See this message. Type help [command name] to see specific help topics.
|
||||||
gen ....... Generate an example PhoneGap application to current directory.
|
gen ....... Generate the example PhoneGap application to current directory (or optionally provide an output directory as parameter).
|
||||||
create .... Creates an Android compatible project from a WWW folder.
|
create .... Creates an Android compatible project from a WWW folder.
|
||||||
classic ... Backwards support for droidgap script. Run "droidgap help classic" for more info.
|
classic ... Backwards support for droidgap script. Run "droidgap help classic" for more info.
|
||||||
update .... Copy a fresh phonegap.jar and phonegap.js into a valid PhoneGap/Android project.
|
update .... Copy a fresh phonegap.jar and phonegap.js into a valid PhoneGap/Android project.
|
||||||
@ -68,8 +68,8 @@ if ARGV.first.nil? || ARGV.first == 'help'
|
|||||||
|
|
||||||
Quickstart:
|
Quickstart:
|
||||||
|
|
||||||
$ droidgap gen example
|
$ droidgap gen exampleapp
|
||||||
$ cd example
|
$ cd exampleapp
|
||||||
$ ant debug install && adb logcat
|
$ ant debug install && adb logcat
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
@ -79,11 +79,13 @@ if ARGV.first.nil? || ARGV.first == 'help'
|
|||||||
DroidGap Generate
|
DroidGap Generate
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Generate an example PhoneGap application to path supplied or current working directory if none is supplied.
|
Generate the example PhoneGap application to path supplied or current working directory if none is supplied.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
droidgap gen [path]
|
droidgap gen [path]
|
||||||
|
|
||||||
|
NOTE: Do *not* run "droidgap gen example" - you will end up with a recursive directory problem.
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user