Skip to content

Commit c0861ef

Browse files
authored
Update Eldev config (#3620)
1 parent aa26d62 commit c0861ef

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ commands:
4848
steps:
4949
- run:
5050
name: Run Elisp-lint
51-
command: eldev lint
51+
command: eldev lint -c
5252
- run:
5353
name: Byte-compile .el files
5454
command: eldev -dtT compile --warnings-as-errors
@@ -106,7 +106,7 @@ jobs:
106106
- run:
107107
name: Install Emacs latest
108108
command: |
109-
choco install emacs
109+
choco install emacs -y
110110
- setup-windows
111111
- test
112112

Eldev

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*-
1+
; -*- mode: emacs-lisp; lexical-binding: t -*-
22

3-
(eldev-require-version "0.6")
3+
(eldev-require-version "1.8.2")
44

55
(eldev-use-package-archive 'gnu)
6+
67
;; For compatibility; e.g. with MELPA Stable one test fails.
78
(eldev-use-package-archive 'melpa-unstable)
89

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
# Remove byte-compilation artifacts, which can alter the result of the test suite:
99
clean:
10-
cd ~/.emacs.d; find . -type f -name "*.elc" -exec rm {} +
10+
eldev clean
1111

1212
# You can find a generic `eldev` installation script in https://github.com/emacs-eldev/eldev/blob/master/webinstall/eldev
1313
# (Don't use the one defined for CircleCI in your local machine)
1414

1515
lint: clean
16-
eldev lint
16+
eldev lint -c
1717

1818
# Checks for byte-compilation warnings.
1919
compile: clean

0 commit comments

Comments
 (0)