diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-09-27 16:50:06 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-09-27 16:50:06 +0200 |
| commit | 4884caa838bea48b7cca28d7bda8faed930b03b1 (patch) | |
| tree | 8c862d59e6f48782da789681e77a4bcf35b1aef5 | |
| parent | 62dd734224de35c44eaf95d2c0c46ddc59117f82 (diff) | |
| parent | a417d78f8abfc46386a4008fd694b77ba3e8fb2b (diff) | |
Merge branch 'main' into emacs-30
| -rw-r--r-- | .github/workflows/makefile.yml | 4 | ||||
| -rw-r--r-- | Makefile | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 89aac7e..daeb5ad 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -47,9 +47,7 @@ jobs: - name: Run interpreted tests run: make test - name: Byte compile all files - run: | - sed -i "s/ no-byte-compile: t;//" compat-macs.el compat-tests.el - make compile + run: make force-compile - name: Run compiled tests run: make test - name: Make info manual @@ -1,5 +1,5 @@ .POSIX: -.PHONY: all compile test clean check +.PHONY: all compile force-compile test clean check .SUFFIXES: .el .elc EMACS = emacs @@ -18,6 +18,11 @@ all: compile compile: $(BYTEC) +force-compile: + sed -i "s/ no-byte-compile: t;/ no-byte-compile: nil;/" $(BYTEC:.elc=.el) + make compile + sed -i "s/ no-byte-compile: nil;/ no-byte-compile: t;/" $(BYTEC:.elc=.el) + test: $(EMACS) --version $(EMACS) -Q --batch -L . -l compat-tests.el -f ert-run-tests-batch-and-exit |
