forked from emacs-lsp/lsp-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (23 loc) · 594 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
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`
ci: build compile clean
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'
clean:
@$(EASK) clean-all
.PHONY: ci build compile test clean