mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
version of package-build-archives that ignores errors so that other
packages will complete even if one doesn't. right now if an error occurs, the build-all will stop, but in most cases build-all should continue through the rest.
This commit is contained in:
parent
dfb7f76a3e
commit
a6e79d651b
1 changed files with 6 additions and 1 deletions
|
@ -359,10 +359,15 @@ If PKG-INFO is nil, an empty one is created."
|
|||
(interactive)
|
||||
(mapc 'package-build-archive pkgs))
|
||||
|
||||
(defun package-build-archives-ignore-errors (&rest pkgs)
|
||||
"Build archives for packages PKGS. Ignore errors."
|
||||
(interactive)
|
||||
(mapc (lambda (pkg) (ignore-errors (package-build-archive pkg))) pkgs))
|
||||
|
||||
(defun package-build-all ()
|
||||
"Build all packages in the `package-build-alist'."
|
||||
(interactive)
|
||||
(apply 'package-build-archives
|
||||
(apply 'package-build-archives-ignore-errors
|
||||
(mapcar 'symbol-name (mapcar 'car package-build-alist))))
|
||||
|
||||
(defun package-build-initialize ()
|
||||
|
|
Loading…
Reference in a new issue