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

Implement realpath instead of binding to C library #102

Merged
merged 3 commits into from
May 22, 2019
Merged

Conversation

Schniz
Copy link
Owner

@Schniz Schniz commented May 22, 2019

For future cross platform support
cc @ulrikstrid

@Schniz Schniz self-assigned this May 22, 2019
@Schniz Schniz added the PR: Internal An internal work has been made label May 22, 2019
let fullPath = Filename.dirname(installationPath);
Some(
Lwt.return_some(
Local.{fullPath, name: Core.Filename.basename(fullPath), aliases: []},
Copy link
Contributor

Choose a reason for hiding this comment

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

Still using Core.Filename here which is a problem on Windows

Copy link
Owner Author

Choose a reason for hiding this comment

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

Oh, I can take the changes you've made with @jordwalke's (and @reason-native's) Path.re and apply them here too 😄 But I don't want to make conflicts for #101

Copy link
Contributor

Choose a reason for hiding this comment

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

Either you could just incorporate what I did in #101 and close my PR or we can chat on Discord to figure this out 😄

@Schniz Schniz merged commit c2f0d58 into master May 22, 2019
@Schniz Schniz deleted the drop-realpath branch May 22, 2019 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Internal An internal work has been made
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants