Mercurial > vim
diff Filelist @ 33861:e6c291944e18
CI: check that all files are listed in Filelist (#13601)
Commit: https://github.com/vim/vim/commit/9cc95aa0d8f52bb0c906ca13297ce3a2ba615f2b
Author: Peter Simonyi <the.peter.simonyi@gmail.com>
Date: Fri Dec 1 12:07:42 2023 -0500
CI: check that all files are listed in Filelist (https://github.com/vim/vim/issues/13601)
Sometimes patches add files that should be included in tarballs for
distribution, but are not added to Filelist (used by Makefile to build
the tar archive). This can break the build, or it can be silently
ignored as runtime files are simply not included in the distribution.
Add a CI check to ensure all files tracked in the repository are
assigned to a variable in Filelist. A few files were not listed because
they do not need to be included in builds and tarballs, so add an IGNORE
variable for these exceptions.
Co-authored-by: Peter Simonyi <pts@petersimonyi.ca>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 01 Dec 2023 18:15:04 +0100 |
parents | 8ef8da090c3b |
children | 0794154316d1 |
line wrap: on
line diff
--- a/Filelist +++ b/Filelist @@ -213,6 +213,7 @@ SRC_ALL = \ src/testdir/dumps/*.dump \ src/testdir/dumps/*.vim \ src/testdir/samples/*.txt \ + src/testdir/samples/*.vim \ src/testdir/samples/test000 \ src/testdir/color_ramp.vim \ src/testdir/silent.wav \ @@ -1074,4 +1075,17 @@ LANG_DOS = \ src/po/*.mo \ runtime/lang/Make_mvc.mak \ +# Files in the repository that are deliberately not listed above, and will thus +# be excluded from distribution tarballs and the like. +# This excludes them from the CI check for unlisted files. +IGNORE = \ + .appveyor.yml \ + .github/FUNDING.yml \ + .github/labeler.yml \ + .github/workflows/label.yml \ + SECURITY.md \ + ci/unlisted.make \ + src/libvterm/CODE-MAP \ + runtime/syntax/testdir/input/html_html \ + # vim: set ft=make: