Add lint target using package-lint
This commit is contained in:
parent
b1f3c4288c
commit
0b95617450
3
Cask
3
Cask
|
@ -1,3 +1,6 @@
|
|||
(source melpa)
|
||||
|
||||
(package-file "evil-collection.el")
|
||||
|
||||
(development
|
||||
(depends-on "package-lint"))
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue