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 vendoring of package using go mod vendor #80

Merged
merged 1 commit into from
Jul 30, 2020

Commits on Jul 22, 2020

  1. Fix vendoring of package using go mod vendor

    A directory with only C files will not be vendored by go mod vendor,
    see this issue: golang/go#26366,
    specifically, Russ Cox's response
    golang/go#26366 (comment).
    
    Because of this, when vendoring github.com/aarzilli/golua with go mod
    vendor, the C header files under github.com/aarzilli/golua/lua/lua are
    not vendored.  This commits adds a workaround to this issue by adding
    dummy Go files which makes go mod behave correctly.  This workaround
    was based on a similar one found here:
    crawshaw/sqlite#88.
    Niels Widger committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    71941f4 View commit details
    Browse the repository at this point in the history