initial commit
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
EMACS ?= emacs
|
||||
SRCS = org-roam-project.el
|
||||
ELCS = $(SRCS:.el=.elc)
|
||||
|
||||
.PHONY: all compile test clean
|
||||
|
||||
all: compile test
|
||||
|
||||
compile: $(ELCS)
|
||||
|
||||
%.elc: %.el
|
||||
$(EMACS) --batch -l org-roam -f batch-byte-compile $<
|
||||
|
||||
test:
|
||||
$(EMACS) --batch \
|
||||
-l ert \
|
||||
-l org-roam \
|
||||
--eval "(add-to-list 'load-path (file-name-directory (expand-file-name \"org-roam-project.el\")))" \
|
||||
-l org-roam-project \
|
||||
-l org-roam-project-test \
|
||||
-f ert-run-tests-batch-and-exit
|
||||
|
||||
clean:
|
||||
rm -f $(ELCS)
|
||||
Reference in New Issue
Block a user