From e0d97d264f83d45472e6cdd1051893db1083eefb Mon Sep 17 00:00:00 2001 From: Gregory Anders <8965202+gpanders@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:12:38 -0700 Subject: 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 --- src/nvim/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 49402a36a8..e675edae5c 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -928,7 +928,7 @@ set(GEN_EVAL_FILES add_custom_command( OUTPUT ${GEN_EVAL_FILES} - COMMAND ${PROJECT_SOURCE_DIR}/scripts/gen_eval_files.lua + COMMAND $ -l ${PROJECT_SOURCE_DIR}/scripts/gen_eval_files.lua DEPENDS ${API_METADATA} ${PROJECT_SOURCE_DIR}/scripts/gen_eval_files.lua -- cgit