Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-10718: Update instruction #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

halton
Copy link
Contributor

@halton halton commented Jun 30, 2017

Platforms affected

What does this PR do?

What testing has been done on this change?

Checklist

  • Reported an issue in the JIRA database
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.

@@ -345,16 +345,13 @@ if (argv.global) {

console.log("To clone repositories:");
console.log([" ." + path.sep + "cordova-coho" + path.sep + "coho repo-clone"].concat(repos).join(" -r "));
if (!argv.globalplugins) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happened to this conditional

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is needed for all condition, anything I missed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the commands being executed in there, they make no sense at all to me. They also really don't seem to be needed if you use npm-link as added below.

console.log(" ln -s .." + path.sep + ".." + path.sep + "cordova-lib cordova-cli" + path.sep + "node_modules");
console.log(" (cd cordova-cli && npm install)");
}
console.log(" ." + path.sep + "cordova-coho" + path.sep + "coho -r cli -r common -r create -r fetch -r js -r serve -r lib -r plugman \"npm install\"");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this line do?

console.log(" ." + path.sep + "cordova-coho" + path.sep + "coho -r cli -r common -r create -r fetch -r js -r serve -r lib -r plugman \"npm install\"");
console.log(" ." + path.sep + "cordova-coho" + path.sep + "coho npm-link");
platforms.forEach(function (platform) {
console.log(" (cd cordova-" + platform + " && npm install && npm link cordova-common)");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this manual linking? Doesn't coho npm-link take care of that?

Copy link

@brodycj brodycj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review comments need to be addressed before we consider merging this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants