- Add build.zig.zon
- Refactor build.zig to expose module and artifacts by usual means
- Add version info to Lua shared/static lib
- Define LUA_USE_APICHECK if and only if opitimize=Debug
- Pass target and optimize mode to lib
- Install headers with lib
As it is, `zig build test -Dtarget=...` will create a cross-compiled
test executable which cannot be run. This should be fixed, probably
by disallowing `-Dtarget` in the test step, or providing a custom
test runner.
This first commit includes the LICENSE and the .gitignore in addition to
the beginnings of the zlua (name tbd) library.
At this stage src/zlua.zig contains a very basic wrapper around the Lua
C API. The goal is to expose every function in a Zig fashion.
The build.zig script contains a single entry point `zig build test` to
run tests.
The intended use of this library will be to include in other projects
and link as a package/library.