emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/nix-mode ccb320ab31 344/500: Make sure update .elc is avai


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode ccb320ab31 344/500: Make sure update .elc is available when running tests
Date: Sat, 29 Jan 2022 08:27:19 -0500 (EST)

branch: elpa/nix-mode
commit ccb320ab31664f0f289413a89d6aed24b266f666
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

    Make sure update .elc is available when running tests
    
    otherwise we get out of date .elc files
---
 Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index c111c1f3ce..3f3b0c24f1 100644
--- a/Makefile
+++ b/Makefile
@@ -6,15 +6,16 @@ ELS  =  nix.el nix-company.el nix-drv-mode.el nix-format.el \
        nix-shell.el nix-store.el
 ELCS = $(ELS:.el=.elc)
 
+TESTS = tests/nix-mode-tests.el tests/nix-font-lock-tests.el
+
 DESTDIR =
 PREFIX  = /usr
 
 all: $(ELCS) nix-mode.info nix-mode.html AUTHORS.md
 
-check:
+check: $(TESTS) $(ELCS)
        emacs   -batch -L . \
-               -l tests/nix-mode-tests.el \
-               -l tests/nix-font-lock-tests.el \
+               $(foreach test,$(TESTS),-l $(test)) \
                -f ert-run-tests-batch-and-exit
 
 install: $(ELCS) nix-mode.info nix-mode.html AUTHORS.md



reply via email to

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