You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2013/02/13 19:47:58 UTC

[2/2] git commit: Update README for prepare and compile.

Updated Branches:
  refs/heads/master 2e455a1f1 -> 69be67b86


Update README for prepare and compile.


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/69be67b8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/69be67b8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/69be67b8

Branch: refs/heads/master
Commit: 69be67b8632a20036520efb31ea9d73771f258af
Parents: 5c10b0a
Author: Braden Shepherdson <br...@chromium.org>
Authored: Wed Feb 13 13:41:57 2013 -0500
Committer: Braden Shepherdson <br...@chromium.org>
Committed: Wed Feb 13 13:41:57 2013 -0500

----------------------------------------------------------------------
 README.md |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/69be67b8/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index cc3629a..a4b4a33 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,9 @@ cordova-cli has a single global `create` command that creates new cordova projec
 - `plugin [ls | list]` list all plugins added to the project
 - `plugin add <path-to-plugin> [<path-to-plugin> ...]` add one (or more) plugins to the project
 - `plugin [rm | remove] <plugin-name> [<plugin-name> ...]` remove one (or more) added plugins
-- `build [<platform> [<platform> [...]]]` compile the app and deploy to a connected + compatible device. With no parameters builds for all platforms added to the project, otherwise builds for the specified platforms
+- `prepare [platform...]` copies files into the specified platforms, or all platforms. it is then ready for building by Eclipse/Xcode/etc.
+- `compile [platform...]` compiles and deploys the app to a connected and compatible device. With no parameters, builds for all platforms, otherwise builds for the specified platforms.
+- `build [<platform> [<platform> [...]]]` an alias for `cordova prepare` followed by `cordova compile`
 - `emulate [<platform> [<platform> [...]]]` launch emulators and deploy app to them. With no parameters emulates for all platforms added to the project, otherwise emulates for the specified platforms
 - `serve <platform> [port]` launch a local web server for that platform's www directory on the given port (default 8000).
 
@@ -96,7 +98,7 @@ These are located under the `.cordova/hooks` directory in the root of your cordo
 
 ## Module-level Hooks
 
-If you are using cordova-cli as a module within a larger node application, you can also use the standard `EventEmitter` methods to attach to the events. The events include `before_build`, `before_docs`, `before_emulate`, `before_platform_add`, `before_platform_ls`, `before_platform_rm`, `before_plugin_add`, `before_plugin_ls` and `before_plugin_rm`. Additionally, there are `after_` flavours of all the above events.
+If you are using cordova-cli as a module within a larger node application, you can also use the standard `EventEmitter` methods to attach to the events. The events include `before_build`, `before_compile`, `before_docs`, `before_emulate`, `before_platform_add`, `before_platform_ls`, `before_platform_rm`, `before_plugin_add`, `before_plugin_ls`, `before_plugin_rm` and `before_prepare`. Additionally, there are `after_` flavours of all the above events.
 
 # Examples