-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 704 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
EMACS=emacs
CASK ?= cask
build :
cask exec $(EMACS) -Q --batch --eval \
"(progn \
(setq byte-compile-error-on-warn t) \
(batch-byte-compile))" electric-operator.el
clean :
@rm -f *.elc
test: unit
unit: build build-unit
${CASK} exec ert-runner
build-unit :
cask exec $(EMACS) -Q --batch --eval \
"(progn \
(setq byte-compile-error-on-warn t) \
(batch-byte-compile))" test-helper.el test/*-test.el
benchmark: build
${CASK} emacs -Q --batch -l ./electric-operator.elc -l ./electric-operator-benchmark.el
install:
${CASK} install
.PHONY: all test install clean build