We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde3570 commit c4a68c0Copy full SHA for c4a68c0
Makefile
@@ -0,0 +1,29 @@
1
+SHELL := /usr/bin/env bash
2
+
3
+EMACS ?= emacs
4
+CASK ?= cask
5
6
+TEST-FILES := test/bootstrap.el $(shell ls test/parse-it-*.el)
7
+LOAD-FILE = -l $(test-file)
8
+LOAD-TEST-FILES := $(foreach test-file, $(TEST-FILES), $(LOAD-FILE))
9
10
+build:
11
+ EMACS=$(EMACS) cask install
12
+ EMACS=$(EMACS) cask build
13
+ EMACS=$(EMACS) cask clean-elc
14
15
+ci: CASK=
16
+ci: compile clean
17
18
+compile:
19
+ @echo "Compiling..."
20
+ @$(CASK) $(EMACS) -Q --batch \
21
+ -l test/bootstrap.el \
22
+ -L . -L clients \
23
+ --eval '(setq byte-compile-error-on-warn t)' \
24
+ -f batch-byte-compile *.el
25
26
+clean:
27
+ rm -rf .cask *.elc
28
29
+.PHONY: build ci compile clean
0 commit comments