None
Fixed example
909a9dfa0371 — CloudNinja 2 years ago
Build changes woo
f232ad8d492e — CloudNinja 2 years ago
oops

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~cloudninja/ljp
read/write
ssh://hg@hg.sr.ht/~cloudninja/ljp

#ljp - LuaJit Packer

#I'm not sorry if you're offended by this project

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

  • meson (compile)
  • ninja (compile)
  • luajit (compile + runtime)

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.