Skip to content

Fix Ninja Output for Windows #50

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 1 commit into from
Aug 13, 2019

Conversation

gmittert
Copy link
Contributor

  • Ninja requires that :s in filenames be escaped as $:
  • Explicitly call cmd.exe /C on Windows
  • In addition, escape spaces for the command that we pass to cmd.exe

I stole the command line quoting verbatim from the one I wrote for Foundation.

Copy link
Contributor

@benlangmuir benlangmuir left a comment

Choose a reason for hiding this comment

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

This needs to be rebased.

- Ninja requires that `:`s in filenames be escaped as `$:`
- Explicitly call cmd.exe /C on Windows
- In addition, escape spaces for the command that we pass to cmd.exe
@gmittert gmittert force-pushed the WindowsPathsMakeMeSad branch from 02e2a52 to 0a02e5d Compare August 13, 2019 18:58
@gmittert
Copy link
Contributor Author

Moved functions out of the class, rebased, and fixed indentation

@swift-ci please test

@benlangmuir benlangmuir merged commit 1e3e71d into swiftlang:master Aug 13, 2019
@gmittert gmittert deleted the WindowsPathsMakeMeSad branch August 13, 2019 20:42
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.

2 participants