1
0
mirror of https://github.com/jojojames/evil-collection.git synced 2024-06-26 07:29:01 +02:00
evil-collection/Makefile
2019-02-16 13:06:34 -08:00

23 lines
595 B
Makefile
Executable File

EMACS ?= emacs
compile:
cask exec $(EMACS) -Q -batch \
-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 \
--eval "(advice-add 'package-lint--check-eval-after-load :around 'ignore)" \
-f package-lint-batch-and-exit *.el
test:
cask exec ert-runner
.PHONY: compile lint test