mirror of
https://github.com/vxcontrol/golua.git
synced 2026-07-01 22:14:01 -04:00
20 lines
582 B
Go
20 lines
582 B
Go
//go:build dummy
|
|
// +build dummy
|
|
|
|
// This file is part of a workaround for `go mod vendor` which won't
|
|
// vendor C files if there are no Go files in the same directory.
|
|
// This prevents the C header files in lua/ from being vendored.
|
|
//
|
|
// This Go file imports the lua package where there is another
|
|
// dummy.go file which is the second part of this workaround.
|
|
//
|
|
// These two files combined make it so `go mod vendor` behaves correctly.
|
|
//
|
|
// See this issue for reference: https://github.com/golang/go/issues/26366
|
|
|
|
package lua
|
|
|
|
import (
|
|
_ "github.com/vxcontrol/golua/lua/lua"
|
|
)
|