Skip to content

Commit 04a38df

Browse files
committed
Add Windows CI make commands
1 parent 36a76eb commit 04a38df

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

Makefile

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
.PHONY: all build byte-compile clean test
1+
.PHONY: all build unix-compile windows-compile clean test
22

33
EMACS ?= emacs
44
CASK ?= cask
55

66
DAP-GENERAL := dap-launch.el dap-overlays.el dap-variables.el \
7-
dap-mode.el dapui.el dap-ui.el dap-mouse.el \
7+
dap-mode.el dapui.el dap-ui.el dap-mouse.el \
88
dap-hydra.el dap-utils.el
99

1010
# TODO: make a clients/ directory and update melpa recipe
@@ -20,12 +20,21 @@ build:
2020
$(CASK) install
2121

2222
# NOTE: treemacs also sets treemacs-no-load-time-warnings to t in its Makefile, so I guess it's OK?
23-
byte-compile:
24-
@$(CASK) $(EMACS) -Q --batch -L . \
23+
unix-compile:
24+
@$(CASK) $(EMACS) -Q --batch \
25+
-L . \
2526
--eval '(setq treemacs-no-load-time-warnings t)' \
2627
-f batch-byte-compile $(DAP-GENERAL) $(DAP-CLIENTS)
2728

28-
ci: clean build byte-compile test
29+
windows-compile:
30+
@$(CASK) $(EMACS) -Q --batch \
31+
-l test/windows-bootstrap.el \
32+
-L . \
33+
--eval '(setq treemacs-no-load-time-warnings t)' \
34+
-f batch-byte-compile $(DAP-GENERAL) $(DAP-CLIENTS)
35+
36+
unix-ci: clean build unix-compile test
37+
windows-ci: clean build windows-compile test
2938

3039
clean:
3140
rm -rf .cask *.elc

0 commit comments

Comments
 (0)