mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
fix(cli): update 'doom upgrade'
To reflect changes made in6c0b7e1
. Amend:6c0b7e1530
This commit is contained in:
@@ -83,13 +83,13 @@ Change `$DOOMDIR' with the `--doomdir' option, e.g.
|
||||
(if (file-exists-p doom-env-file)
|
||||
(print! (item "Envvar file already exists, skipping"))
|
||||
(when (or yes? (y-or-n-p "Generate an envvar file? (see `doom help env` for details)"))
|
||||
(doom-cli-reload-env-file 'force-p))))
|
||||
(call! '(env)))))
|
||||
|
||||
;; Install Doom packages
|
||||
(if (eq install? :no)
|
||||
(print! (warn "Not installing plugins, as requested"))
|
||||
(print! "Installing plugins")
|
||||
(doom-cli-packages-install))
|
||||
(doom-packages-install))
|
||||
|
||||
(print! "Regenerating autoloads files")
|
||||
(doom-autoloads-reload)
|
||||
@@ -99,7 +99,7 @@ Change `$DOOMDIR' with the `--doomdir' option, e.g.
|
||||
(print! "Deploying commit-msg and pre-push git hooks")
|
||||
(print-group!
|
||||
(condition-case e
|
||||
(doom-cli--ci-deploy-hooks yes?)
|
||||
(call! `(ci deploy-hooks ,@(if yes? '("--force"))))
|
||||
('user-error
|
||||
(print! (warn "%s") (error-message-string e))))))
|
||||
|
||||
|
@@ -54,7 +54,7 @@ OPTIONS:
|
||||
(print-group!
|
||||
(when (and (not noenvvar?)
|
||||
(file-exists-p doom-env-file))
|
||||
(call! '("env")))
|
||||
(call! '(env)))
|
||||
(doom-packages-install)
|
||||
(doom-packages-build)
|
||||
(when update?
|
||||
|
Reference in New Issue
Block a user