forked from emacs-lsp/lsp-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (29 loc) · 734 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
SHELL := /usr/bin/env bash
EMACS ?= emacs
EASK ?= eask
TEST-FILES := test/windows-bootstrap.el test/test-helper.el \
$(shell ls test/lsp-ui-*.el)
LOAD-FILE = -l $(test-file)
LOAD-TEST-FILES := $(foreach test-file, $(TEST-FILES), $(LOAD-FILE))
# FIXME: add `test`, and `lint`
ci: clean build compile checkdoc
build:
$(EASK) package
$(EASK) install
$(EASK) clean elc
compile:
@echo "Compiling..."
@$(EASK) compile
test:
@echo "Testing..."
$(EASK) install-deps --dev
$(EASK) exec ert-runner -L . $(LOAD-TEST-FILES) -t '!no-win' -t '!org'
checkdoc:
@echo "Run checkdoc..."
@$(EASK) lint checkdoc
lint:
@echo "Run package-lint..."
@$(EASK) lint package
clean:
@$(EASK) clean all
.PHONY: ci build compile test clean