mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
build: move all generator scripts to src/gen/
- Move all generator Lua scripts to the `src/gen/` - Add a `.luarc.json` to `src/gen/` - Add a `preload.lua` to `src/gen/` - Add `src` to `package.path` so it aligns with `.luarc.json' - Fix all `require` statements in `src/gen/` so they are consistent: - `require('scripts.foo')` -> `require('gen.foo')` - `require('src.nvim.options')` -> `require('nvim.options')` - `require('api.dispatch_deprecated')` -> `require('nvim.api.dispatch_deprecated')`
This commit is contained in:
committed by
Lewis Russell
parent
85caaa70d4
commit
0f24b0826a
@ -59,7 +59,7 @@ _do_release_commit() {
|
||||
$__sed -i.bk 's/(NVIM_API_PRERELEASE) true/\1 false/' CMakeLists.txt
|
||||
build/bin/nvim --api-info > "test/functional/fixtures/api_level_$__API_LEVEL.mpack"
|
||||
git add "test/functional/fixtures/api_level_${__API_LEVEL}.mpack"
|
||||
VIMRUNTIME=./runtime build/bin/nvim -u NONE -l scripts/gen_vimdoc.lua
|
||||
VIMRUNTIME=./runtime build/bin/nvim -u NONE -l src/gen/preload.lua src/gen/gen_vimdoc.lua
|
||||
git add -u -- runtime/doc/
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user