emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-matchit 296cc6580b: fixed byte-compile


From: ELPA Syncer
Subject: [nongnu] elpa/evil-matchit 296cc6580b: fixed byte-compile
Date: Thu, 28 Jul 2022 09:58:39 -0400 (EDT)

branch: elpa/evil-matchit
commit 296cc6580b990dec41893bdb08d8294ded4cb91b
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    fixed byte-compile
---
 Makefile                 |  3 ---
 tests/my-byte-compile.el |  3 +--
 tests/my-elint.el        | 33 ---------------------------------
 3 files changed, 1 insertion(+), 38 deletions(-)

diff --git a/Makefile b/Makefile
index c0eaf84553..b931c0622e 100644
--- a/Makefile
+++ b/Makefile
@@ -29,9 +29,6 @@ deps:
        @if [ ! -f deps/tuareg-2.2.0/tuareg.el ]; then curl -L 
https://stable.melpa.org/packages/tuareg-2.2.0.tar | tar x -C deps/; fi;
        @if [ ! -f deps/yaml-mode.el ]; then curl -L 
https://stable.melpa.org/packages/yaml-mode-0.0.15.el > deps/yaml-mode.el; fi;
 
-lint: deps
-       @$(EMACS) $(EMACS_BATCH_OPTS) -l tests/my-elint.el 2>&1 | grep -E 
"([Ee]rror|[Ww]arning):" && exit 1 || exit 0
-
 compile: deps
        $(RM) *.elc
        @$(EMACS) $(EMACS_BATCH_OPTS) -l tests/my-byte-compile.el 2>&1 | grep 
-E "([Ee]rror|[Ww]arning):" && exit 1 || exit 0
diff --git a/tests/my-byte-compile.el b/tests/my-byte-compile.el
index d765dd79b5..8dd7228d89 100644
--- a/tests/my-byte-compile.el
+++ b/tests/my-byte-compile.el
@@ -1,4 +1,4 @@
-;;; my-elint.el --- syntax check the code  -*- lexical-binding: t -*-
+;;; my-byte-compile.el --- syntax check the code  -*- lexical-binding: t -*-
 
 ;; Copyright (C) 2022 Chen Bin
 ;;
@@ -39,5 +39,4 @@
   (dolist (file files)
     (byte-compile-file file)))
 
-(provide 'my-byte-compile)
 ;;; my-byte-compile.el ends here
diff --git a/tests/my-elint.el b/tests/my-elint.el
deleted file mode 100644
index fb5b0119ca..0000000000
--- a/tests/my-elint.el
+++ /dev/null
@@ -1,33 +0,0 @@
-;;; my-elint.el --- syntax check the code  -*- lexical-binding: t -*-
-
-;; Copyright (C) 2022 Chen Bin
-;;
-;; Author: Chen Bin <chenbin.sh@gmail.com>
-
-;; This file is NOT part of GNU Emacs.
-
-;; This program is free software; you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 3, or (at your option)
-;; any later version.
-
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-
-;; You should have received a copy of the GNU General Public License
-;; along with this program; if not, see <https://www.gnu.org/licenses/>.
-
-;;; Commentary:
-;;  Syntax check the code.  It's used in Emacs cli.
-;;
-
-;;; Code:
-(require 'elint)
-
-(let ((elint-directory-skip-re 
"\\(\\.dir-locals\\|ldefs-boot\\|loaddefs\\)\\.el\\'"))
-  (elint-directory "."))
-
-(provide 'my-elint)
-;;; my-elint.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]