Skip to content

Feature/windows support #36

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

Merged
merged 2 commits into from
Oct 28, 2017
Merged

Conversation

cspotcode
Copy link
Contributor

Adds support for running on Windows. Some path-related operations were assuming a posix OS. Now paths are always normalized to Posix-style forward-slash delimiters. Windows will accept both slashes as a delimiter and does not allow forward slashes in file or directory names, so this should be safe and predictable to users.

- path manipulation and comparison operations were assuming posix-style
paths.  Adds a bit of normalization so that paths on Windows are always
converted to use forward-slashes.  This is fine because Windows treats
both as path delimeters and forward slashes are not valid in directory
or file names.
@coveralls
Copy link

coveralls commented Oct 27, 2017

Coverage Status

Coverage decreased (-0.03%) to 85.208% when pulling 882a148 on cspotcode:feature/windows-support into 43ecda4 on buehler:develop.

@cspotcode
Copy link
Contributor Author

The decrease in code coverage is because there's an if-else block that runs one statement on Windows, the other on Linux and Mac.

@buehler
Copy link
Owner

buehler commented Oct 28, 2017

@cspotcode
THANK YOU!

I wanted to do this for so long. But never got time for it. 🎉

@buehler buehler merged commit 0ea36f1 into buehler:develop Oct 28, 2017
@buehler
Copy link
Owner

buehler commented Oct 28, 2017

This should actually fix some other issues in typescript hero! :-)

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.

3 participants