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: go mod vendor #280

Merged
merged 5 commits into from
Apr 20, 2020
Merged

fix: go mod vendor #280

merged 5 commits into from
Apr 20, 2020

Conversation

james-lawrence
Copy link
Contributor

@james-lawrence james-lawrence commented Apr 4, 2020

fixes #251

add dummy files to ensure c source is maintained transparently.

why this works vs #258 because // +build ignore is treated specially by golangs toolchain and its necessary to import the packages for them to be maintained.

I'm only doing this for v3.3 because that is all I require for my use case atm. Someone else can pick up the other versions if/when necessary.

Copy link
Member

@pwaller pwaller left a comment

Choose a reason for hiding this comment

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

Nice fix, thanks! Some trivial suggestions to the comments.

v3.3/glfw/build_cgo_hack.go Outdated Show resolved Hide resolved
v3.3/glfw/build_cgo_hack.go Outdated Show resolved Hide resolved
v3.3/glfw/build_cgo_hack.go Outdated Show resolved Hide resolved
v3.3/glfw/glfw/deps/dummy.go Outdated Show resolved Hide resolved
@james-lawrence
Copy link
Contributor Author

accepted your suggestions.

@pwaller pwaller merged commit 258d9be into go-gl:master Apr 20, 2020
@pwaller
Copy link
Member

pwaller commented Apr 20, 2020

Thanks!

@james-lawrence james-lawrence deleted the fix-v3.3-vendoring branch April 20, 2020 21:37
pwaller pushed a commit that referenced this pull request Nov 1, 2020
As with the fix applied in #280.
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.

Not possible to import using go mod vendor
2 participants