Created
March 22, 2016 01:10
-
-
Save hyotang666/3448c01f3ef9241e6860 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun packages-made-by(system) | |
(if(find system (asdf:already-loaded-systems):test #'string-equal) | |
(warn "System ~S is already loaded."system) | |
(let((depends-on(asdf:system-depends-on(asdf:find-system system)))) | |
(when depends-on | |
(ql:quickload depends-on :silent t)) ; setup | |
(let((old(list-all-packages))) ; keep olds state | |
(ql:quickload system :silent t) ; install new | |
(set-difference(list-all-packages)old))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment