[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vc-got 00eb9c8 127/145: add `lint' target
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vc-got 00eb9c8 127/145: add `lint' target |
Date: |
Thu, 9 Sep 2021 15:58:47 -0400 (EDT) |
branch: externals/vc-got
commit 00eb9c8707477056ff57bfba0f4905912a8386fc
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>
add `lint' target
---
Makefile | 7 +++++++
targets/lint.el | 26 ++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/Makefile b/Makefile
index 68acf98..9d81ed1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,14 @@
EMACS = emacs
+.PHONY: all compile lint clean
+
+all: compile lint
+
compile: vc-got.elc
+lint:
+ ${EMACS} -Q --batch -L . -l targets/lint.el
+
clean:
rm -f *.elc
diff --git a/targets/lint.el b/targets/lint.el
new file mode 100644
index 0000000..f355796
--- /dev/null
+++ b/targets/lint.el
@@ -0,0 +1,26 @@
+;;; lint.el --- lint helper -*- lexical-binding: t;
-*-
+
+;; Copyright (C) 2021 Omar Polo
+
+;; Author: Omar Polo <op@omarpolo.com>
+
+;; 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 of the License, 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/>.
+
+(require 'checkdoc)
+
+(let ((checkdoc-diagnostic-buffer "*warn*"))
+ (dolist (file '("vc-got.el"))
+ (with-current-buffer (find-file-noselect file)
+ (eval-buffer)
+ (checkdoc-current-buffer t))))
- [elpa] externals/vc-got 1870c8b 094/145: add a space when prompting for the push/pull operations, (continued)
- [elpa] externals/vc-got 1870c8b 094/145: add a space when prompting for the push/pull operations, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got c151c25 095/145: implement vc-got-find-file-hook, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 8ec0bb7 107/145: guard vc-got-diff against nil files, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got db89d6f 114/145: add a wrapper for the update command, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got ae2ad57 123/145: don't need mark-resolved and find-admin-dir, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 09d5937 103/145: implement retrieve-tag and complete the tag system!, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got e104d04 122/145: update the year, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got d3ca33b 116/145: add the required "headers" for a package, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 1d573c9 119/145: rename arguments to emphasize that they must be files, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 61b9a83 124/145: add the keyword `tools', like in vc-git, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 00eb9c8 127/145: add `lint' target,
ELPA Syncer <=
- [elpa] externals/vc-got 95a78ec 134/145: missing require and split setq-locals, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 4b3c0c6 132/145: add Timo as author, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3ec8a8b 130/145: chores, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 5154c5c 136/145: switch to `got send' for pushing, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3dcaa71 139/145: improve tag creation buffer, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got adbe5db 143/145: move the copyright to the FSF, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 2a50da6 140/145: push doesn't use git anymore, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 961d35b 142/145: fix find-revision, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got a1679b1 144/145: automatically register the backend and ignore the .got directory, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 8fc127f 145/145: bump version, ELPA Syncer, 2021/09/09