forked from fasheng/elfeed-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 658 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (20 loc) · 658 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
EMACS ?= emacs
CASK ?= cask
.PHONY: install build test clean
all: install build test clean
# init cask environment
init:
EMACS=$(EMACS) $(CASK) install --verbose
build:
EMACS=$(EMACS) $(CASK) build
test:
EMACS=$(EMACS) $(CASK) exec ert-runner
clean:
EMACS=$(EMACS) $(CASK) clean-elc
checkdoc:
$(CASK) exec $(EMACS) --batch -L . -l test/test-checkdoc.el -Q 2>&1 | tee __checkdoc
@cat __checkdoc | [ $$(wc -l) -gt 0 ] && exit 1 || exit 0
elint:
$(CASK) exec $(EMACS) --batch -L . --eval="(elint-directory \".\")"
package-lint:
$(CASK) exec $(EMACS) --batch -L . -l elfeed.el -l package-lint.el -f package-lint-batch-and-exit elfeed-protocol.el