forked from emacs-lsp/dap-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (25 loc) · 888 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
.PHONY: all build byte-compile clean test
EMACS ?= emacs
CASK ?= cask
DAP-GENERAL := dap-launch.el dap-overlays.el dap-variables.el \
dap-mode.el dapui.el dap-ui.el dap-mouse.el \
dap-hydra.el dap-utils.el
# TODO: make a clients/ directory and update melpa recipe
DAP-CLIENTS := dap-chrome.el dap-cpptools.el dap-edge.el \
dap-elixir.el dap-firefox.el dap-gdb-lldb.el \
dap-go.el dap-lldb.el dap-netcore.el dap-node.el \
dap-php.el dap-pwsh.el dap-python.el dap-ruby.el
all:
$(CASK) build
build:
$(CASK) install
# NOTE: treemacs also sets treemacs-no-load-time-warnings to t in its Makefile, so I guess it's OK?
byte-compile:
@$(CASK) $(EMACS) -Q --batch -L . \
--eval '(setq treemacs-no-load-time-warnings t)' \
-f batch-byte-compile $(DAP-GENERAL) $(DAP-CLIENTS)
ci: clean build byte-compile test
clean:
rm -rf .cask *.elc
test:
$(CASK) exec ert-runner -L .