Add lint target using package-lint

This commit is contained in:
Fredrik Bergroth 2017-11-15 10:31:25 +01:00 committed by James N
parent b1f3c4288c
commit 0b95617450
2 changed files with 12 additions and 0 deletions

3
Cask
View File

@ -1,3 +1,6 @@
(source melpa)
(package-file "evil-collection.el")
(development
(depends-on "package-lint"))

9
Makefile Normal file → Executable file
View File

@ -5,3 +5,12 @@ compile:
-L . \
--eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile *.el
lint:
cask exec $(EMACS) -Q -batch \
--eval "(require 'package)" \
--eval "(push '(\"melpa\" . \"http://melpa.org/packages/\") package-archives)" \
--eval "(package-initialize)" \
--eval "(package-refresh-contents)" \
-l package-lint.el \
-f package-lint-batch-and-exit *.el