From 2ea8faa960573d0e62ba26f8f56f7e1589536421 Mon Sep 17 00:00:00 2001 From: Chris Brody Date: Sun, 15 Dec 2019 20:16:59 -0500 Subject: [PATCH 1/3] fix commands in README.md replace `&` with `&&` --- createmobilespec/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createmobilespec/README.md b/createmobilespec/README.md index a85e2dd..a5dad94 100644 --- a/createmobilespec/README.md +++ b/createmobilespec/README.md @@ -45,7 +45,7 @@ and a way to use the platform-centered workflow instead of the CLI. ```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 .. + cd cordova-coho && npm install && cd .. node cordova-coho/coho repo-clone -r mobile-spec -r tools -r plugins -r active-platforms node cordova-coho/coho npm-link ``` @@ -54,7 +54,7 @@ and a way to use the platform-centered workflow instead of the CLI. 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 ../.. + cd cordova-mobile-spec/createmobilespec && npm install && cd ../.. ``` 3. You are now ready to use `createmobilespec.js` with the commands below. From 5a7abf54c0c8c0f8b77d4d41446ddd29a0537b84 Mon Sep 17 00:00:00 2001 From: Chris Brody Date: Wed, 24 Jun 2020 13:59:33 -0400 Subject: [PATCH 2/3] use relative paths for the cordova-coho/coho commands --- createmobilespec/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createmobilespec/README.md b/createmobilespec/README.md index a5dad94..f512e28 100644 --- a/createmobilespec/README.md +++ b/createmobilespec/README.md @@ -46,8 +46,8 @@ and a way to use the platform-centered workflow instead of the CLI. # 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 tools -r plugins -r active-platforms - node cordova-coho/coho npm-link + node ./cordova-coho/coho repo-clone -r mobile-spec -r tools -r plugins -r active-platforms + node ./cordova-coho/coho npm-link ``` After this you should have 30+ folders in your `cordova` folder. From d38c0f2a9aa3dd129f79f219cc2aae9deadd2ce0 Mon Sep 17 00:00:00 2001 From: Chris Brody Date: Wed, 24 Jun 2020 15:52:29 -0400 Subject: [PATCH 3/3] remove .git extension from git clone https command --- createmobilespec/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createmobilespec/README.md b/createmobilespec/README.md index f512e28..1273510 100644 --- a/createmobilespec/README.md +++ b/createmobilespec/README.md @@ -44,7 +44,7 @@ and a way to use the platform-centered workflow instead of the CLI. ```shell # Create a new folder, e.g. `cordova` and `cd cordova` into it. - git clone https://github.com/apache/cordova-coho.git + git clone https://github.com/apache/cordova-coho cd cordova-coho && npm install && cd .. node ./cordova-coho/coho repo-clone -r mobile-spec -r tools -r plugins -r active-platforms node ./cordova-coho/coho npm-link