Skip to content

Commit bba5a50

Browse files
committed
Add Cask to Makefile
1 parent 7a0148e commit bba5a50

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,4 +1,5 @@
11
EMACS ?= emacs
2+
CASK ?= cask
23
ELS = lisp/php.el lisp/php-align.el lisp/php-face.el lisp/php-project.el lisp/php-local-manual.el lisp/php-mode.el lisp/php-mode-debug.el
34
AUTOLOADS = php-mode-autoloads.el
45
ELCS = $(ELS:.el=.elc)
@@ -24,12 +25,15 @@ AUTHORS.md: etc/git/AUTHORS.md.in .mailmap
2425

2526
autoloads: $(AUTOLOADS)
2627

27-
$(AUTOLOADS): lisp/php.el lisp/php-align.el lisp/php-face.el lisp/php-project.el lisp/php-mode-debug.el lisp/php-mode.el
28+
$(AUTOLOADS): lisp/php.el lisp/php-align.el lisp/php-face.el lisp/php-project.el lisp/php-local-manual.el lisp/php-mode-debug.el lisp/php-mode.el
2829
$(EMACS) -Q -batch -L lisp/ --eval \
2930
"(progn \
3031
(require 'package) \
3132
(package-generate-autoloads \"php-mode\" (expand-file-name \"lisp\")))"
3233

34+
.cask: Cask
35+
$(CASK) install
36+
3337
clean:
3438
rm -f $(ELCS) $(AUTOLOADS)
3539

@@ -50,7 +54,7 @@ dev:
5054
#
5155
# for an example of using a script like this with the 'git bisect run'
5256
# command.
53-
test: clean all
57+
test: .cask clean all
5458
touch tests/project/1/.git
5559
$(EMACS) -Q -batch -L lisp/ --eval \
5660
"(let ((default-directory (expand-file-name \".cask\" default-directory))) \

0 commit comments

Comments
 (0)