branch: scratch/editorconfig-cc commit c93d216f394ef3d5fe46cec2f83e54ab8dbb8ba3 Author: 10sr <8slashes+...@gmail.com> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
Do not check metadata of files other than editorconfig.el --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2d6ae079f3..73d611472d 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ ERT_TESTS = $(wildcard $(PROJECT_ROOT_DIR)/ert-tests/*.el) BATCHFLAGS = -batch -q --no-site-file -L $(PROJECT_ROOT_DIR) +MAIN_SRC = editorconfig.el SRCS = editorconfig.el editorconfig-core.el editorconfig-core-handle.el \ editorconfig-fnmatch.el OBJS = $(SRCS:.el=.elc) @@ -26,7 +27,7 @@ test: test-ert test-core test-metadata $(OBJS) test-ert: $(ERT_TESTS) $(OBJS) $(EMACS) $(BATCHFLAGS) \ --eval "(require 'ert) (setq debug-on-error t)" \ - --eval "(setq metadata-el-files '($(SRCS:%=\"%\")))" \ + --eval "(setq metadata-el-files '($(MAIN_SRC:%=\"%\")))" \ $(ERT_TESTS:%=-l "%") \ -f ert-run-tests-batch-and-exit