#lua-script #single-file #script-file #bundle

app bundle-lua

Bundle Lua scripts into a single file

8 releases (4 breaking)

0.5.2 Mar 13, 2023
0.5.1 Mar 13, 2023
0.4.1 Mar 13, 2023
0.3.0 Mar 12, 2023
0.1.0 Mar 12, 2023

#11 in #lua-script

MIT license

7KB
140 lines

Bundle Lua

A crate to bundle lua files together, usage:

bundle-lua <OUTPUT> <SOURCE_DIR> <MAIN> [PACKAGES]...

MAIN and PACKAGES... are relative to SOURCE_DIR.

The arguments used in PACKAGES should be the arguments used in the requires.

You can add --auto-detect (-a) to make it automatically detect the packages from the main file.

Dependencies

~3–4MB
~69K SLoC