22 lines
286 B
Makefile
22 lines
286 B
Makefile
|
EMACS ?= emacs
|
||
|
CASK ?= cask
|
||
|
|
||
|
all: test
|
||
|
|
||
|
test: clean-elc
|
||
|
${MAKE} unit
|
||
|
${MAKE} compile
|
||
|
${MAKE} unit
|
||
|
${MAKE} clean-elc
|
||
|
|
||
|
unit:
|
||
|
${CASK} exec ert-runner
|
||
|
|
||
|
compile:
|
||
|
${CASK} exec ${EMACS} -Q -batch -f batch-byte-compile racer.el
|
||
|
|
||
|
clean-elc:
|
||
|
rm -f racer.elc
|
||
|
|
||
|
.PHONY: all test unit compile
|