aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.ci/common/test.sh19
-rw-r--r--runtime/CMakeLists.txt4
2 files changed, 23 insertions, 0 deletions
diff --git a/.ci/common/test.sh b/.ci/common/test.sh
index 2eaaf0b2b1..be23865a77 100644
--- a/.ci/common/test.sh
+++ b/.ci/common/test.sh
@@ -82,4 +82,23 @@ install_nvim() {
echo "Maybe the helptags have not been generated properly."
exit 1
}
+
+ # Check that all runtime files were installed
+ for file in doc/tags syntax/vim/generated.vim $(
+ cd runtime ; git ls-files | grep -e '.vim$' -e '.ps$' -e '.dict$' -e '.py$'
+ ) ; do
+ if ! test -e "${INSTALL_PREFIX}/share/nvim/runtime/$file" ; then
+ echo "It appears that $file is not installed."
+ exit 1
+ fi
+ done
+
+ for file in $(
+ cd runtime ; git ls-files | grep -e '.awk$' -e '.sh$' -e '.bat$'
+ ) ; do
+ if ! test -x "${INSTALL_PREFIX}/share/nvim/runtime/$file" ; then
+ echo "It appears that $file is not installed or is not executable."
+ exit 1
+ fi
+ done
}
diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
index a6c06195d0..4271418e0c 100644
--- a/runtime/CMakeLists.txt
+++ b/runtime/CMakeLists.txt
@@ -64,6 +64,10 @@ install_helper(
FILES ${GENERATED_HELP_TAGS} ${BUILDDOCFILES}
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/nvim/runtime/doc)
+install_helper(
+ FILES ${GENERATED_SYN_VIM}
+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/nvim/runtime/syntax/vim)
+
file(GLOB_RECURSE RUNTIME_PROGRAMS
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
*.awk *.sh *.bat)