Skip to content

Relative rsp files #82

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

Closed
wants to merge 1 commit into from
Closed

Conversation

zienag
Copy link
Contributor

@zienag zienag commented Mar 6, 2020

Allow relative paths for rsp file, skip forwarded args in rsp expansion, fail on invalid rsp files.

Should go after #73

The solution for skipping -Xblabla @SOMETHING is rather fragile, but I didn't find any better without major changes. One way to do it might be to add option attribute, something like "argument escape" (as -Xblabla is similar to escaping)

@zienag zienag force-pushed the relative_rsp_file_2 branch from a736d79 to a59e2c3 Compare March 6, 2020 16:41
@zienag zienag marked this pull request as ready for review March 6, 2020 16:43
XCTAssert(diags.diagnostics.first!.description.contains("is recursively expanded"))
// FIXME: Error message about nonexistent response file could be improved
XCTAssertEqual(diags.diagnostics[1].description, "noEntry")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it better to change it in tools-support-core or just transform it in swift-driver code?

@shahmishal shahmishal closed this Oct 5, 2020
@shahmishal
Copy link
Member

The Swift project moved the default branch to main and deleted master branch, so GitHub automatically closed the PR. Please re-create pull request with main branch.

More detail about the branch update - https://forums.swift.org/t/updating-branch-names/40412

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