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

Fix path flattening in makefile #111

Merged
merged 1 commit into from
Jun 4, 2021
Merged

Fix path flattening in makefile #111

merged 1 commit into from
Jun 4, 2021

Conversation

almarklein
Copy link
Collaborator

@almarklein almarklein commented Jun 4, 2021

I should have tested it properly in #110, sorry.

The flattening now happens like this: sed is used to replace "webgpu-headers/" with nothing. The resulting changed file is saved as wgpu.h (rather than ffi/wgpu.h), and this file is included in the zipfile.

I moved away from sed -i (inplace) because that API differs between Linux and MacOS:/

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 4, 2021

@bors bors bot merged commit 66a4139 into gfx-rs:master Jun 4, 2021
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