branch: elpa/flymake-collection
commit 1472603f3d4aadf40dbcfd81432de1eb82e3ad9d
Author: Mohsin Kaleem <mohk...@kisara.moe>
Commit: Mohsin Kaleem <mohk...@kisara.moe>

    build: Suppress failure on using rx-constitutuents on emacs-30
---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 79b3a99f04..b5db50a06f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,12 @@ SRC      := $(wildcard $(SRC_DIR)/*.el 
$(SRC_DIR)/checkers/*.el)
 ELC      := $(patsubst $(SRC_DIR)/%.el,$(BIN_DIR)/%.elc,$(SRC))
 ELCHKDOC := $(patsubst $(SRC_DIR)/%.el,$(BIN_DIR)/%.checkdoc,$(SRC))
 
-EMACS ?= emacs --eval '(add-to-list (quote load-path) (concat 
default-directory "src/"))'
+# Obsolete warnings suppressed for `rx-constituents'. The replacement
+# does not let you define optional arguments for properties which makes
+# it incompatbile with the regexp format we've used until now.
+EMACS ?= emacs \
+    --eval '(add-to-list (quote load-path) (concat default-directory "src/"))' 
\
+       --eval '(byte-compile-disable-warning (quote obsolete))'
 
 $(V).SILENT:
 
@@ -40,7 +45,7 @@ $(BIN_DIR)/%.elc: $(SRC_DIR)/%.el
 .PHONY: docker-build
 docker-build: ## Create a build image for running tests
        @echo "[docker] Building docker image"
-       docker build  -t flymake-collection-test ./tests/checkers
+       docker build -t flymake-collection-test ./tests/checkers
 
 DOCKER_COMMAND := bash
 DOCKER_FLAGS := -it

Reply via email to