branch: externals/eglot
commit 51f13205672f4c12a15b7f77a6a33f32c09a057f
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>

    Skip downloading GNU ELPA deps on make check by default
    
    But packages already downloaded are considered, since the compile and
    check targets still call package-initialize.
    
    * Makefile (eglot-check-noelpa): New target.
    (check): Depend on eglot-check-noelpa.
---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a53ee91..86da2da 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,9 @@ eglot-check: compile
                --eval '(setq ert-batch-backtrace-right-margin 200)'    \
                --eval '(ert-run-tests-batch-and-exit (quote $(SELECTOR)))'
 
+eglot-check-noelpa: ELPADEPS=-f package-initialize
+eglot-check-noelpa: eglot-check
+
 interactive: compile
        $(EMACS) -Q                                                     \
                $(ELPADEPS)                                             \
@@ -61,7 +64,7 @@ interactive: compile
                -l eglot                                                \
                -l eglot-tests                                          \
 
-check: eglot-check
+check: eglot-check-noelpa
 
 # Cleanup
 #

Reply via email to