-
Notifications
You must be signed in to change notification settings - Fork 107
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
base: master
Are you sure you want to change the base?
Conversation
@@ -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) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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\""); |
There was a problem hiding this comment.
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)"); |
There was a problem hiding this comment.
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?
There was a problem hiding this 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.
Platforms affected
What does this PR do?
What testing has been done on this change?
Checklist