Skip to content

Commit fff7ed9

Browse files
committed
Load cask when compile
1 parent 2c77d59 commit fff7ed9

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: Cask

+4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
"lisp/php-face.el"
99
"lisp/php-project.el"
1010
"lisp/php-local-manual.el"
11+
"lisp/php-ui-phpactor.el"
12+
"lisp/php-ui.el"
1113
"lisp/php-mode-debug.el")
1214

1315
(development
16+
;;(depends-on "lsp-mode")
17+
(depends-on "phpactor")
1418
(depends-on "pkg-info")
1519
(depends-on "projectile")
1620
(depends-on "smart-jump")

Diff for: Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
EMACS ?= emacs
22
CASK ?= cask
3-
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
3+
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-ui.el lisp/php-ui-phpactor.el lisp/php-mode-debug.el
44
AUTOLOADS = php-mode-autoloads.el
55
ELCS = $(ELS:.el=.elc)
66

77
%.elc: %.el
8-
$(EMACS) -Q -batch -L lisp/ -f batch-byte-compile $<
8+
$(EMACS) -Q -batch -L lisp/ --eval \
9+
"(let ((default-directory (expand-file-name \".cask\" default-directory))) \
10+
(require 'package) \
11+
(normal-top-level-add-subdirs-to-load-path))" \
12+
-f package-initialize -f batch-byte-compile $<
913

1014
all: autoloads $(ELCS) authors
1115

0 commit comments

Comments
 (0)