Skip to content

Commit bd56f55

Browse files
committed
complete test
1 parent 3792842 commit bd56f55

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

.github/workflows/test.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,4 @@ jobs:
4848
version: 'snapshot'
4949

5050
- name: Run tests
51-
run: |
52-
eask package
53-
eask install
54-
eask compile
51+
run: make ci

Makefile

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
EMACS ?= emacs
2-
ELS = muldoc.el
3-
AUTOLOADS = muldoc-autoloads.el
4-
ELCS = $(ELS:.el=.elc)
2+
EASK ?= eask
53

6-
%.elc: %.el
7-
$(EMACS) -Q -batch -L . -f batch-byte-compile $<
4+
install:
5+
$(EASK) package
6+
$(EASK) install
87

9-
all: autoloads $(ELCS)
8+
compile:
9+
$(EASK) compile
1010

11-
autoloads: $(AUTOLOADS)
11+
ci: clean autoloads install compile
1212

13-
$(AUTOLOADS): $(ELS)
14-
$(EMACS) -Q -batch -L . --eval \
15-
"(progn \
16-
(require 'package) \
17-
(package-generate-autoloads \"muldoc\" default-directory))"
13+
all: autoloads compile
14+
15+
autoloads:
16+
$(EASK) generate autoloads
1817

1918
clean:
20-
rm -f $(ELCS) $(AUTOLOADS)
19+
$(EASK) clean all
2120

2221
test: clean all
23-
$(EMACS) -Q -batch -L . -l tests/muldoc-test.el -f ert-run-tests-batch-and-exit
22+
$(EASK) test ert tests/muldoc-test.el

0 commit comments

Comments
 (0)