forked from emacs-lsp/dap-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (29 loc) · 948 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
.PHONY: all build compile clean test
EMACS ?= emacs
EASK ?= eask
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 \
dap-codelldb.el dap-erlang.el dap-swi-prolog.el
TEST-FILES := test/windows-bootstrap.el $(shell ls test/dap-*.el)
LOAD-FILE = -l $(test-file)
LOAD-TEST-FILES := $(foreach test-file, $(TEST-FILES), $(LOAD-FILE))
ci: clean build compile test
build:
$(EASK) package
$(EASK) install
$(EASK) clean-elc
compile:
@echo "Compiling..."
$(EASK) compile
clean:
$(EASK) clean-all
test:
@echo "Testing..."
$(EASK) install-deps --dev
$(EASK) exec ert-runner -L .