[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/urgrep 243501d797: Don't automatically compile test cod
From: |
ELPA Syncer |
Subject: |
[elpa] externals/urgrep 243501d797: Don't automatically compile test code |
Date: |
Mon, 5 Jun 2023 00:59:05 -0400 (EDT) |
branch: externals/urgrep
commit 243501d797dcffd6f5656226b3faa16ae091a11e
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>
Don't automatically compile test code
---
Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index c607f26ef6..f43482ec7a 100644
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,10 @@
PACKAGE_NAME := urgrep
PACKAGE_MAIN := $(PACKAGE_NAME).el
AUTOLOADS := $(PACKAGE_NAME)-autoloads.el
-SRCS := $(filter-out $(AUTOLOADS), $(wildcard *.el))
-OBJS := $(patsubst %.el,%.elc,$(SRCS))
TESTS := $(wildcard *-tests.el)
+TEST_OBJS := $(patsubst %.el,%.elc,$(TESTS))
+SRCS := $(filter-out $(AUTOLOADS) $(TESTS), $(wildcard *.el))
+OBJS := $(patsubst %.el,%.elc,$(SRCS))
EMACS ?= emacs
export DEPS_DIR = $(shell realpath .deps)
@@ -80,7 +81,7 @@ lint:
@$(MAKE) --always-make STRICT=1 compile
.PHONY: check
-check:
+check: $(OBJS) $(TEST_OBJS)
@echo TEST $(patsubst %.el,%,$(TESTS))
@$(EMACS_DEPS) -Q --batch \
-L . $(patsubst %.el,-l %,$(TESTS)) \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/urgrep 243501d797: Don't automatically compile test code,
ELPA Syncer <=