build: use built nvim artifact to generate eval files (#25875)

In cases where the generated files depend on changes to Nvim itself,
generating the files with an older version of Nvim will fail because
those changes are not present in the older version.

For example, if a new option is added then the generator script should
be run with the version of Nvim that contains the new option, or else
the generation will fail.

Co-authored-by: dundargoc <gocdundar@gmail.com>
This commit is contained in:
Gregory Anders
2023-11-02 11:12:38 -07:00
committed by GitHub
parent 363e029e7a
commit e0d97d264f
3 changed files with 4 additions and 11 deletions

View File

@@ -1,4 +1,3 @@
#!/usr/bin/env -S nvim -l
-- Generator for various vimdoc and Lua type files
local DEP_API_METADATA = 'build/api_metadata.mpack'