|
|
|
@ -39,9 +39,9 @@ force-docs: maintainer-clean docs |
|
|
|
# defaults to selecting all tests. Note that in batch mode, a nil
|
|
|
|
# defaults to selecting all tests. Note that in batch mode, a nil
|
|
|
|
# selector is the same as t.
|
|
|
|
# selector is the same as t.
|
|
|
|
check: ERT_SELECTOR ?= t |
|
|
|
check: ERT_SELECTOR ?= t |
|
|
|
|
|
|
|
check: RUN := '(ert-run-tests-batch-and-exit (quote $(ERT_SELECTOR)))' |
|
|
|
check: lisp |
|
|
|
check: lisp |
|
|
|
$(BATCH) -l dev/examples-to-tests.el -l dev/examples.el \
|
|
|
|
$(BATCH) -l dev/examples-to-tests.el -l dev/examples.el -eval $(RUN)
|
|
|
|
-eval '(ert-run-tests-batch-and-exit (quote $(ERT_SELECTOR)))'
|
|
|
|
|
|
|
|
.PHONY: check |
|
|
|
.PHONY: check |
|
|
|
|
|
|
|
|
|
|
|
all: lisp docs check |
|
|
|
all: lisp docs check |
|
|
|
@ -63,9 +63,9 @@ maintainer-clean: clean |
|
|
|
|
|
|
|
|
|
|
|
# Files.
|
|
|
|
# Files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%.elc: WERROR := '(setq byte-compile-error-on-warn t)' |
|
|
|
%.elc: %.el |
|
|
|
%.elc: %.el |
|
|
|
$(BATCH) -eval '(setq byte-compile-error-on-warn t)' \
|
|
|
|
$(BATCH) -eval $(WERROR) -f batch-byte-compile $<
|
|
|
|
-f batch-byte-compile $<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dash-functional.elc: dash.elc |
|
|
|
dash-functional.elc: dash.elc |
|
|
|
|
|
|
|
|
|
|
|
|