mirror of
https://github.com/jojojames/evil-collection.git
synced 2024-06-29 07:50:50 +02:00
720a94cda6
Using a hammer to ignore if-let/when-let complaints.
25 lines
748 B
Makefile
Executable File
25 lines
748 B
Makefile
Executable File
EMACS ?= emacs
|
|
|
|
compile:
|
|
cask exec $(EMACS) -Q -batch \
|
|
-L . \
|
|
--eval '(setq evil-want-integration nil)' \
|
|
--eval '(setq byte-compile-error-on-warn t)' \
|
|
-f batch-byte-compile *.el modes/*/*.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)" \
|
|
--eval "(advice-add 'package-lint--check-version-regexp-list :around 'ignore)" \
|
|
-f package-lint-batch-and-exit *.el modes/*/*.el
|
|
|
|
test:
|
|
cask exec ert-runner
|
|
|
|
.PHONY: compile lint test
|