diff options
author | Teddy Wing | 2022-08-23 00:51:38 +0200 |
---|---|---|
committer | Teddy Wing | 2022-08-23 00:55:07 +0200 |
commit | add2fe905028b9f9926f10a9e862d2fec1511106 (patch) | |
tree | c07455315d265d293877564fe6cf46b16e51a32a /bundle.lisp | |
parent | d6c18fde2f9bf32c022e1a474cd1b8e676ae71d4 (diff) | |
download | extreload-add2fe905028b9f9926f10a9e862d2fec1511106.tar.bz2 |
Makefile: Add self-contained bundle target
Add a target to create a self-contained bundle of the program that isn't
dependent on Quicklisp.
This code is based on what I did in Wajir.
Diffstat (limited to 'bundle.lisp')
-rw-r--r-- | bundle.lisp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bundle.lisp b/bundle.lisp new file mode 100644 index 0000000..2069940 --- /dev/null +++ b/bundle.lisp @@ -0,0 +1,15 @@ +(setf ql:*local-project-directories* '("./lib")) + +(let ((dependencies (append + (asdf:system-depends-on (asdf:find-system :extreload)))) + (local-dependencies '("sysexits" + "wait-group"))) + (ql:bundle-systems + (set-difference + (sort dependencies #'string-lessp) + local-dependencies + :test #'equal) + :to "./bundle" + :include-local-projects t)) + +(quit) |