summaryrefslogtreecommitdiff
path: root/Makefile
blob: ae2638afd355dd9890b8a7a230c8b69a5563fa2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
EMACS := emacs
CURL := curl --silent

DASH_URL := https://raw.githubusercontent.com/magnars/dash.el/master/dash.el

.PHONY: test

test: .downloads
	${EMACS} -Q --batch -L . \
		-l bog-tests \
		--eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))"

.downloads:
	${CURL} ${DASH_URL} > dash.el
	touch .downloads

clean:
	@rm -rf  *.elc