diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2023-03-13 18:49:40 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-03-13 18:49:40 +0100 |
| commit | 9b6ae49dd160fee91a158629ffba62ab25c48665 (patch) | |
| tree | 1bdcc6f3b1a53286d10ef8214f6c8570edd1e898 /test/Makefile | |
| parent | 26a705fffe4c6297cdbd546f2ece942d8b5d8535 (diff) | |
test: Compile magit-tests.el
Diffstat (limited to 'test/Makefile')
| -rw-r--r-- | test/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile index c921c55..439eef0 100644 --- a/test/Makefile +++ b/test/Makefile @@ -12,3 +12,14 @@ test-interactive: @$(EMACS) -Q $(LOAD_PATH) --eval "(progn\ (load-file \"$(TOP)test/magit-tests.el\")\ (ert t))" + +lisp: magit-tests.elc + +%.elc: %.el + @printf "Compiling $<\n" + @$(BATCH) --eval "(progn\ + (when (file-exists-p \"$@\")\ + (delete-file \"$@\"))\ + (setq with-editor-emacsclient-executable nil)\ + $$suppress_warnings)" \ + -f batch-byte-compile $< |
