-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathMakefile
42 lines (31 loc) · 814 Bytes
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
42
EMACS ?= emacs -Q --batch --load init.el -l org-sql.el
all: test
test:
${MAKE} stateless
${MAKE} stateful
${MAKE} compile
docs:
${EMACS} \
-l doc/org-sql-doc.el \
-f create-docs-file \
-f org-sql-create-all-erds
stateless:
${EMACS} -l test/org-sql-test-stateless.el -f buttercup-run-discover
stateful:
${EMACS} -l test/org-sql-test-stateful.el -f buttercup-run-discover
compile:
${EMACS} build
${MAKE} stateless
${MAKE} stateful
${MAKE} clean-elc
clean-elc:
${EMACS} clean-elc
# install all development packages for the current version
install:
${EMACS} --eval '(print "Install finished")'
# write lockfile for current emacs version given each repo dependency
freeze:
${EMACS} -f straight-freeze-versions
thaw:
${EMACS} -f straight-thaw-versions
.PHONY: all test unit