Skip to content

Commit df6e511

Browse files
kermorgantzonuexe
authored andcommitted
update notices after rename of phpactor-update (#104)
we're using phpactor-install-or-update now
1 parent 782a5ee commit df6e511

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Installation with use-package :
2727
))))))
2828
#+END_SRC
2929

30-
After having installed this package, run `phpactor-update` (this will install a supported version of phpactor inside phpactor.el's installation folder).
30+
After having installed this package, run `phpactor-install-or-update` (this will install a supported version of phpactor inside `.emacs.d/phpactor`).
3131

3232
*NOTICE*: To ensure the supported version of Phpactor is installed, you might need to run this command again after an upgrade of this package.
3333

phpactor.el

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ of GitHub.")
123123
(let ((vendor-executable (f-join phpactor-install-directory "vendor/bin/phpactor")))
124124
(when (file-exists-p vendor-executable)
125125
vendor-executable))
126-
(error "Phpactor not found. Please run phpactor-update")))
126+
(error "Phpactor not found. Please run phpactor-install-or-update")))
127127

128128
;;;###autoload
129129
(defun phpactor-install-or-update ()
@@ -147,9 +147,7 @@ of GitHub.")
147147
(php-runtime-quote-string (concat directory file))
148148
(php-runtime-quote-string (concat phpactor-install-directory file)))
149149
do (php-runtime-expr code))
150-
(composer nil "install" "--no-dev")
151-
;; (call-process "composer" nil t nil "install" "--no-dev")
152-
))
150+
(composer nil "install" "--no-dev")))
153151
(defalias 'phpactor-update #'phpactor-install-or-update)
154152

155153
(defun phpactor-get-working-dir ()

0 commit comments

Comments
 (0)