Commit Graph
5 Commits
Author SHA1 Message Date
BlackAngelTV 1bfbe79cba feat(cli): create a build directory next to the Lua sources
The generated files landed in a luacpp-build folder named after the script, so
the executable could not be found where a build directory is usually expected.
The default layout is now build/<script> for the binary and build/src for the
generated sources, and the path is printed relative to the working directory.
2026-11-18 08:48:05 +01:00
BlackAngelTV fbdb3e73ba refactor(demo): keep the demo Lua-only
Calling the compiled modules required a CMake project and a C++ main, which
contradicted the point of the compiler. A Lua entry script now prints the same
report, and the modules sit next to it so require resolves without any flag.
2026-11-18 08:48:05 +01:00
BlackAngelTV ac8353e2c0 chore: trim the ignore rules and drop stale build output
The gitignore came from a generic C++ template in which almost no pattern
applies here, and build/ still held files from the removed example project.
The generated luacpp-build directory is now ignored too.
2026-11-18 08:48:05 +01:00
BlackAngelTV 11a2e1ba6a build: add build script and CMake helper for compiled packages
Compiling the compiler, the example and the demo by hand is error prone, so a
single script keeps the whole flow reproducible and ignores build outputs.
2026-11-18 08:48:05 +01:00
BlackAngelTV 62e950dbc5 Initial commit 2026-11-18 08:48:05 +01:00