summaryrefslogtreecommitdiff
path: root/Makefile
blob: ff1296ab8ccf06da5d482e29582e2a63a1ac2031 (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 maven-test-mode-*/ maven-test-mode-*.tar *.elc