-
Notifications
You must be signed in to change notification settings - Fork 182
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
Add dummy.go to glfw source directory #258
Conversation
This allows "go mod vendor" to copy the files out of the tree, where otherwise they would be ignored. Fixes go-gl#251.
Hi @pwaller, sorry for the extremely late reply ;( and thanks for the attempt at solving the issue! Unfortunately this does not solve the problem, I did a bit of reading and it seems that In order to verify this I did this:
As you can see the build fails, and looking at the output from tree (see below) its obvious that the
The module imported and used should be correct as it at least lists the module as replaced (see below), and a
A possible solution might be to explicitly import the |
I got a bit of insight reading Russ's comments:
Perhaps what we need to do is have the C files living alongside the go modules, I wonder? That doesn't seem ideal, of course. @gustafj please try out importing the dummy package and report back (ideally with a pull request!). My cycles are very limited, but if there is a fix available and I can easily verify it fixes things, I will merge it. |
Superseded by #280. |
…e the 3.2 vendoring work properly
add dummy files similar to fix of go-gl#258 for version of 3.3 to make the…
Implemented with this shell fragment:
Fix #251.