From 79db5bb62cbc8c3b6efb2eced58347b8bf450075 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Wed, 2 Aug 2023 21:51:18 -0700 Subject: [PATCH] * doc/lispref/package.texi (Multi-file Packages): Document ".elpaignore". (cherry picked from commit 744a10a4d722a361bc21561b4162045e4ec97ed6) --- doc/lispref/package.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/lispref/package.texi b/doc/lispref/package.texi index 6f52a33d194..ebe578932bf 100644 --- a/doc/lispref/package.texi +++ b/doc/lispref/package.texi @@ -284,6 +284,13 @@ variable @code{load-file-name} (@pxref{Loading}). Here is an example: (expand-file-name file superfrobnicator-base)) @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 @section Creating and Maintaining Package Archives @cindex package archive -- 2.39.5