Skip to content

Commit

Permalink
build: Suppress failure on using rx-constitutuents on emacs-30
Browse files Browse the repository at this point in the history
  • Loading branch information
mohkale committed Sep 2, 2024
1 parent 37dafae commit 1472603
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1472603

Please sign in to comment.