This repository contains all files and information to create a NuGet package from the source code of Lua.
For problems with the library itself contact the authors:
For problems with the NuGet package contact SGrottel:
- https://www.nuget.org/packages/lua/
- https://go.grottel.net/nuget-project/lua (takes you here)
- https://go.grottel.net/nuget/lua
- https://www.sgrottel.de
Lua is a powerful, fast, lightweight, embeddable scripting language.
Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.
Lua is free open-source software, distributed under a very liberal license (the well-known MIT license).
Project Website: https://www.lua.org/
- Download the newest Lua code and replace the content in the
lua
subdirectory. - Update the source file list in the Visual Studio Project based on the updated lua documentation.
- If files were added or removed, especially public header files, you might need to adjust
lua.nuspec
andlua.targets
.
- Everything is built from
lua.sln
with Visual Studio - Adjust the project to the different
Toolset
versions. You might also need to adjust the target platform versions to select the correct Windows SDK. - Build all projects. Those will populate different subdirectories in
bin
directory. - As soon as you got all flavors built, run
makeNuget.ps1
.
- Testing is automatically done on CI with
testbuild
during the build steps, before packing the NuGet - A second test is running with
testnuget
after backing the NuGet - Use
testnuget
and adjust the project if you want to test a NuGet package manually
Lua is freely available under the terms of the MIT open source license.
The additional code to produce the Lua NuGet package is freely available under the terms of the MIT open source license.