summaryrefslogtreecommitdiff
path: root/Makefile
blob: acbc9d431bb1af457635f32a53a685a533f2e474 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
EMACS=emacs
CASK ?= cask

package-lint:
	cask exec $(EMACS) -Q --batch -l "package-lint.el" -f "package-lint-batch-and-exit" terminal-here.el

build :
	cask exec $(EMACS) -Q --batch --eval             \
	    "(progn                                \
	      (setq byte-compile-error-on-warn t)  \
	      (batch-byte-compile))" terminal-here.el

clean :
	@rm -f *.elc

test: build
	${CASK} exec ert-runner

install:
	${CASK} install

.PHONY:	all test install clean build