Skip to content

Commit f3a7549

Browse files
committed
Add cask install to make
1 parent b959a0b commit f3a7549

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
EMACS ?= emacs
2+
CASK ?= cask
23
ELS = phpactor.el company-phpactor.el
34
AUTOLOADS = phpactor-autoloads.el
45
ELCS = $(ELS:.el=.elc)
56

67
%.elc: %.el
78
$(EMACS) -Q -batch -L . -f package-initialize -f batch-byte-compile $<
89

9-
all: clean autoloads $(ELCS)
10+
all: .cask $(ELCS) autoloads
1011

1112
autoloads: $(AUTOLOADS)
1213

@@ -17,7 +18,10 @@ $(AUTOLOADS): $(ELCS)
1718
(normal-top-level-add-subdirs-to-load-path) \
1819
(package-generate-autoloads \"phpactor\" default-directory))"
1920

20-
test: clean $(ELCS)
21+
.cask: Cask
22+
$(CASK) install
23+
24+
test: .cask $(ELCS)
2125
$(EMACS) -Q -batch -L . --eval \
2226
"(let ((default-directory (expand-file-name \".cask\" default-directory))) \
2327
(normal-top-level-add-subdirs-to-load-path) \

0 commit comments

Comments
 (0)