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

Fixing Windows build #61

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

nicolasnoble
Copy link
Contributor

Implementing an ersatz of the patch command in pure Python, so #60 can also work on Windows. I have been informed #60 breaks on Windows, but I don't really have any means of testing on this OS, barring any actual Windows CI, so I've only reproduced this new patch still works fine on Linux. Someone else will have to tell me if it works on Windows as intended.

Implementing an ersatz of the patch command in pure Python.
tools/patch.py Outdated Show resolved Hide resolved
tools/patch.py Fixed Show fixed Hide fixed
nicolasnoble added a commit that referenced this pull request Oct 21, 2024
* Fixing Windows build
Implementing an ersatz of the patch command in pure Python.

* Rewrite main using argparse.

* Make range check a bit more readable.

* Simplifying further range check.

* Removing `sys` import that's no longer used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants