-
Notifications
You must be signed in to change notification settings - Fork 372
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
init: detect local cygwin installation #5544
Conversation
090c3d3
to
8bd2321
Compare
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.
The interaction and detection mechanisms look good, but I think we need to be extra clear with what exactly we are asking the user (in particular paths, etc.) and in what context.
It may (in time ;) ) be the first interaction with OCaml of ppl not very familiar with the command-line so we need to be extra careful.
8bd2321
to
441ab53
Compare
441ab53
to
cfed1d7
Compare
…g cygwin binary path
…cygwin binary location, and add a function to test directly if given cygwin installation path is a cygwin installation std: Sys.get_windows_executable_variant, use cygenv to get environment & quote cygcheck std: Update Sys.get_windows_executable_variant naming Co-authored-by: Raja Boujbel <[email protected]>
… when defined Co-authored-by: Raja Boujbel <[email protected]>
…t/setup.exe to opamroot/.cygwin/setup.exe
…ion given a binary path and a Cygwin setup executable path It also copies Cygwin setup in Cygwin root path, to be able to find it immediately next time Co-authored-by: David Allsopp <[email protected]>
cfed1d7
to
6a650f7
Compare
At init && reinit, add detection and setup of a pre-existent cygwin installation.
It contains commit of #5543 (see #5543 (comment))
TODO