Skip to content

Commit

Permalink
Update Eldev config (#3620)
Browse files Browse the repository at this point in the history
  • Loading branch information
p4v4n authored Feb 13, 2024
1 parent aa26d62 commit c0861ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ commands:
steps:
- run:
name: Run Elisp-lint
command: eldev lint
command: eldev lint -c
- run:
name: Byte-compile .el files
command: eldev -dtT compile --warnings-as-errors
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- run:
name: Install Emacs latest
command: |
choco install emacs
choco install emacs -y
- setup-windows
- test

Expand Down
5 changes: 3 additions & 2 deletions Eldev
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
; -*- mode: emacs-lisp; lexical-binding: t; no-byte-compile: t -*-
; -*- mode: emacs-lisp; lexical-binding: t -*-

(eldev-require-version "0.6")
(eldev-require-version "1.8.2")

(eldev-use-package-archive 'gnu)

;; For compatibility; e.g. with MELPA Stable one test fails.
(eldev-use-package-archive 'melpa-unstable)

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

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

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

lint: clean
eldev lint
eldev lint -c

# Checks for byte-compilation warnings.
compile: clean
Expand Down

0 comments on commit c0861ef

Please sign in to comment.