Skip to content

Cross-platform compatibility.#87

Open
mktange wants to merge 2 commits into
palantir:masterfrom
mktange:windows-compat
Open

Cross-platform compatibility.#87
mktange wants to merge 2 commits into
palantir:masterfrom
mktange:windows-compat

Conversation

@mktange

@mktange mktange commented Feb 7, 2018

Copy link
Copy Markdown

Changed uses of "path" to "path/filepath", in order to make the logic cross-platform compatible.

Added a little bit of extra logic in certain functions of matchers and pkgpath, which makes them work on Windows systems too.

Finally, the tests that are currently failing on Windows have been fixed. To help this, I've added a small extra package osutil, which contains some reusable code-snippets.

Ran all tests on an Unix system, and they still pass.


This change is Reviewable

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.

1 participant