diff options
| author | Fredrik Bergroth <fbergroth@gmail.com> | 2017-11-15 10:31:25 +0100 |
|---|---|---|
| committer | James N <james@jojojames.com> | 2017-11-15 18:43:58 -0800 |
| commit | 0b95617450359765a5a7617de54a4f57bb89a8db (patch) | |
| tree | cad3a5dbaa6c8974b81258ff5561bf5253301ac8 /Makefile | |
| parent | b1f3c4288c2cf81404bb067a8b444db287c291b2 (diff) | |
Add lint target using package-lint
Diffstat (limited to 'Makefile')
| -rwxr-xr-x[-rw-r--r--] | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |
