emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Request to add tomelr package to GNU ELPA


From: Stefan Monnier
Subject: Re: Request to add tomelr package to GNU ELPA
Date: Tue, 03 May 2022 18:41:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Kaushal Modi [2022-05-03 17:39:29] wrote:
> But.. I see that it's also installing and compiling all the test files
> in <repo>/test/ directory. Can you please exclude those from the
> installation?

Even better: you can do it yourself by adding a `.elpaignore` file which
contains just `test` in it.
[ Actually, I'd recommend you put `test` on one line and `COPYING` on
  the other since that's not needed in a tarball downloaded by Emacs
  which already comes with that COPYING file.  ]

> Also.. not sure why the installation gave this failure?
>
> test/all-tests.el:26:1: Error: Cannot open load file: No such file or
> directory, tjson-utils

I guess it's because tomelr/test is not added to `load-path` (which
sounds like a good thing).  If you care to fix it (not needed if you
add the `.elpaignore`) then you could use

    (require 'tjson-utils "test/tjson-utils")


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]