You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/11/24 11:47:10 UTC

[cordova-mobile-spec] 03/04: iterate README

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-cleanup_readmes
in repository https://gitbox.apache.org/repos/asf/cordova-mobile-spec.git

commit fcfcc6d403a0171f87259e779fbcbfb1c27dc805
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Nov 24 03:07:15 2018 +0100

    iterate README
---
 createmobilespec/README.md | 42 +++++++++---------------------------------
 1 file changed, 9 insertions(+), 33 deletions(-)

diff --git a/createmobilespec/README.md b/createmobilespec/README.md
index 80b3148..13cb1c5 100644
--- a/createmobilespec/README.md
+++ b/createmobilespec/README.md
@@ -42,49 +42,25 @@ and a way to use the platform-centered workflow instead of the CLI.
 
     The easiest and quickest way to achieve this is by using `cordova-coho`:
 
-    ```
+    ```shell
     # Create a new folder, e.g. `cordova` and `cd cordova` into it.
     git clone https://github.com/apache/cordova-coho.git
     cd cordova-coho & npm install & cd ..
-    node cordova-coho/coho repo-clone  -r mobile-spec -r js -r lib -r plugman -r cli
-                                                                                      // -r android -r plugins
+    node cordova-coho/coho repo-clone -r mobile-spec -r tools -r plugins -r active-platforms
     node cordova-coho/coho npm-link
     ```
-2. 
-    ```
-    cd cordova-mobile-spec\createmobilespec & npm install & cd ..
-    ```
-The following projects need to be checked out as peers (= in the same directory):
-
-    * `cordova-mobile-spec` (this project)
-    * `cordova-js`  
-    * `cordova-lib`
-    * `cordova-plugman`
-    * `cordova-cli`
-    * All Cordova core plugins
-    * All platforms to test (e.g., `cordova-android`, `cordova-ios` or `cordova-windows`)
-
-    
 
-2. Run `npm install` in the following locations:
+    After this you should have 40+ folders in your `cordova` folder.
 
-    * `cordova-mobile-spec/createmobilespec` (also contains this `README`)
-    * `cordova-lib`
-    * `cordova-cli`
-
-
-Each git repo should be checked out to the state or edited with the content
-that you want to test.
-
-(Be **aware** that it **will not download** missing 
-plugin content from the [plugin registry](http://plugins.cordova.io) nor does 
-it fetch platforms from the npm repository. (Except, I think it does...))
+2. As `cordova-mobile-spec` has a special structure, you have to install dependencies in `createmobilespec` manually:
+    ```shell
+    cd cordova-mobile-spec/createmobilespec & npm install & cd ../..
+    ```
+3. You are now ready to use `createmobilespec.js` with the commands below.
 
 ## Usage
 
-The `createmobilespec.js` script needs to be invoked from a specific current working directory: the one where you have all the git repos cloned.
-
-So if you were to do an `ls` in that directory, you should see all the git repos including `cordova-mobile-spec`. Thus an invocation should look like:
+The `createmobilespec.js` script also needs to be invoked from the "main" folder you created before (`cordova`):
 
     cordova-mobile-spec/createmobilespec/createmobilespec.js
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org