diff --git a/Cask b/Cask index 39ed0e6..0b516f5 100644 --- a/Cask +++ b/Cask @@ -1,3 +1,6 @@ (source melpa) (package-file "evil-collection.el") + +(development + (depends-on "package-lint")) diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index b7c10ae..f1a3be8 --- a/Makefile +++ b/Makefile @@ -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