* doc/lispref/package.texi (Multi-file Packages): Document ".elpaignore".

(cherry picked from commit 744a10a4d7)
This commit is contained in:
Jim Porter 2023-08-02 21:51:18 -07:00 committed by Stefan Kangas
parent 3c2baa1b95
commit b2db82c5ae

View file

@ -284,6 +284,13 @@ variable @code{load-file-name} (@pxref{Loading}). Here is an example:
(expand-file-name file superfrobnicator-base)) (expand-file-name file superfrobnicator-base))
@end smallexample @end smallexample
If your project contains files that you don't wish to distribute to
users (e.g.@: regression tests), you can add them to an
@file{.elpaignore} file. In this file, each line lists a file or
wildcard matching files to ignore when producing your package's tar
file on ELPA. (ELPA will pass this file to @command{tar} with the
@code{-X} option.)
@node Package Archives @node Package Archives
@section Creating and Maintaining Package Archives @section Creating and Maintaining Package Archives
@cindex package archive @cindex package archive