| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/textproc/py-docutils/work-py39/docutils-0.17.1/tools/editors/emacs/tests/ |
Upload File : |
#!/usr/bin/env make
EMACS = /usr/bin/emacs
ERT = ~/lib/emacs/ert
RST_EL = ../rst.el
EMACS_ERT_PFX = $(EMACS) --batch --quick --directory=$(ERT) --load=ert.el
EMACS_ERT_SFX = --funcall=ert-run-tests-batch-and-exit
ERT_TESTS := $(filter-out ert-%,$(wildcard *.el))
EMACS_COMPILE_PFX = $(EMACS) --batch --quick --eval '(progn \
(setq byte-compile-error-on-warn t) \
(kill-emacs (if (byte-compile-file
EMACS_COMPILE_SFX = ) 0 1)))'
all: compile tests
tests:
$(EMACS_ERT_PFX) $(addprefix -l ,$(ERT_TESTS)) $(EMACS_ERT_SFX)
compile:
$(EMACS_COMPILE_PFX) "$(RST_EL)" $(EMACS_COMPILE_SFX)
clean: