Lazy-install buttercup package

This commit is contained in:
Henrik Lissner 2019-04-29 18:48:35 -04:00
parent 7c5fb8ed9c
commit 087127a31d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 5 additions and 2 deletions

View file

@ -18,6 +18,8 @@ If neither is available, run all tests in all enabled modules."
(let* ((noninteractive t)
(doom-modules (doom-modules)))
(quiet! (doom-reload-autoloads))
(unless (package-installed-p 'buttercup)
(package-install 'buttercup t))
(let ((target-paths
;; Convert targets into a list of string paths, pointing to the root
;; directory of modules