feat(cli): allow defcli! in ci.el
A project may provide a ci.el to config bin/doom's CI commands. With this, users can also define their own 'doom ci' subcommands from there.
This commit is contained in:
parent
04a09128d4
commit
a2d2206797
1 changed files with 3 additions and 2 deletions
|
@ -257,10 +257,11 @@ Note: warnings are not considered failures.")
|
||||||
(local-config
|
(local-config
|
||||||
(car (or (doom-glob repo-root "ci.el")
|
(car (or (doom-glob repo-root "ci.el")
|
||||||
(doom-glob doom-private-dir "ci.el")))))
|
(doom-glob doom-private-dir "ci.el")))))
|
||||||
(load local-config nil t t)
|
(defgroup! :prefix '(doom ci)
|
||||||
|
(load local-config nil t t))
|
||||||
(print! (item "Loaded %S") local-config)))
|
(print! (item "Loaded %S") local-config)))
|
||||||
|
|
||||||
(defcli! ci ()
|
(defcli! ci (&args _)
|
||||||
"Commands that automate development processes."
|
"Commands that automate development processes."
|
||||||
:partial t)
|
:partial t)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue