a Lua Runtime with all dependencies required to build OUI products
item | plataform |
---|---|
Amalgamation | Source |
OuiPacker.out | Linux binary |
OuiPacker.exe | Windows binary |
for compile the project you can just call
curl -L https://github.com/OUIsolutions/OuiPacker/releases/download/0.005/OuiPacker.c -o OuiPacker.c && gcc OuiPacker.c -o OuiPacker.o
for building from scratch you must have gcc installed on your machine then clone the repo and type
sh install_dependencies.sh && ./darwin.o build darwinconf.lua build_linux build_windows
for building from docker, you must have docker installed in your machine then just type
sh install_dependencies.sh
sh create_all_docker_images.sh
sh build_all_from_docker.sh
than you can run the image
docker run --volume $(pwd)/src:/src/:z --volume $(pwd)/release:/release/:z -it darwin
and inside the machine , you can run
darwin build
for runing a input.lua file you can just type
./OuiPacker.o teste.lua
you can run in full folder mode by passing the --folder_mode flag NOTE THAT YOUR CODE MUST HAVE A main function, otherwise will raise a error
./OuiPacker.o --folder_mode src
you can generate a type anotation file by typing
./OuiPacker.o --drop_types types.lua
OUI Packer Have The Follow libs native
Object Name | Lib Name |
---|---|
camalgamator | LuaCAmalgamator |
dtw | LuaDoTheWorld |
candango | candangoEngine |
json | LuaFluidJson |
argv | LuaFluidJson |
silverchain | LuaFluidJson |