diff options
author | ZyX <kp-pav@yandex.ru> | 2015-08-12 07:44:34 +0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-08-11 13:50:43 -0400 |
commit | a6c612868186278ca8428a8dfaa4064954a920c1 (patch) | |
tree | 5bb0e19fb721bb9edb3631e37c2b3f6f3022c170 | |
parent | d21690a66e7eb5ebef18046c7a79ef898966d786 (diff) | |
download | rneovim-a6c612868186278ca8428a8dfaa4064954a920c1.tar.gz rneovim-a6c612868186278ca8428a8dfaa4064954a920c1.tar.bz2 rneovim-a6c612868186278ca8428a8dfaa4064954a920c1.zip |
runtime: Do install generated syntax file, also test this. #3160
Fixes #3157
-rw-r--r-- | .ci/common/test.sh | 19 | ||||
-rw-r--r-- | runtime/CMakeLists.txt | 4 |
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) |