- tools/bundle.py: every module a function in __FILES with a cached __include; requires become __include calls, so only the API and its load-time requires run on require. Rosetta._internal(path) includes any module by its src path. --!native modules get @native on each function (NATIVE re-checked on the bundle); linemaps map bundle lines back to sources (--where). LuaJIT bundle inlines the compat prelude. - tools/build.py: the multi-file trees move to build/_modules (gitignored); each target also writes its bundle. - tools/test.sh: api + docs/example tests also run against both bundles; fails when build/ is stale. - default.project.json mounts build/Rosetta.luau; examples/love loads build/rosetta.lua. - README: one line, install, quick start, doc links, generated format table and codec list (tools/gen_registry.py), licence TODO. DOCS lint checks the generated sections and the links.
15 lines
313 B
Plaintext
15 lines
313 B
Plaintext
# build outputs (tools/build.py): the single-file bundles and their linemaps are committed, the rest is internal
|
|
/build/*
|
|
!/build/Rosetta.luau
|
|
!/build/rosetta.lua
|
|
!/build/*.linemap.json
|
|
# generated test fixtures (tools/fixtures.py)
|
|
/tests/gen/
|
|
# Rojo
|
|
/*.rbxm
|
|
/*.rbxmx
|
|
/*.rbxl
|
|
/*.rbxlx
|
|
sourcemap.json
|
|
__pycache__/
|