Fixed example
Build changes woo
oops
The goal of this project is a reasonably "simple" to use and extend Lua packaging system.
I'm bad with build systems and the like so excuse 4 scripts to do different things.
Dependencies
Building
Clone and cd into the repo
hg clone https://hg.sr.ht/~cloudninja/ljp
cd ljp
To build the provided example
cp example/main.lua inc/.
ninja -C build
./build/ljp
If you provide your own Lua scripts in inc
they will be processed into header files and compiled into the binary.
ninja -C build
./build/ljp
I'm still figuring out build system stuff, so it may be a little broken but it should at least work.
Assuming you don't touch preload.lua
you can retrieve those files (from main.lua
, read the example and preload.lua
to understand) from luajit later.