aboutsummaryrefslogtreecommitdiffstats
path: root/bundle.lisp
diff options
context:
space:
mode:
authorTeddy Wing2022-05-22 00:32:48 +0200
committerTeddy Wing2022-05-22 00:41:18 +0200
commit0c58692dddac6643c55dc35f0b8f03ea4991104f (patch)
tree28f85c80feea7ebb88b2e0fd3105e5c74b5b90ac /bundle.lisp
parented21989821175af68bc9bfa558b677991e04802d (diff)
downloadwajir-0c58692dddac6643c55dc35f0b8f03ea4991104f.tar.bz2
Makefile: Bundle dependencies for packaging
Since I can't load Quicklisp dependencies when building with Homebrew or MacPorts, do `(ql:bundle-systems)` to create a bundle that includes all dependencies and can be packaged into a tarball for building from package managers.
Diffstat (limited to 'bundle.lisp')
-rw-r--r--bundle.lisp14
1 files changed, 14 insertions, 0 deletions
diff --git a/bundle.lisp b/bundle.lisp
new file mode 100644
index 0000000..8961589
--- /dev/null
+++ b/bundle.lisp
@@ -0,0 +1,14 @@
+(setf ql:*local-project-directories* '("./lib"))
+
+(let ((dependencies (asdf:system-depends-on (asdf:find-system :wajir)))
+ (local-dependencies '("com.inuoe.jzon"
+ "sysexits")))
+ (ql:bundle-systems
+ (set-difference
+ (sort dependencies #'string-lessp)
+ local-dependencies
+ :test #'equal)
+ :to "./bundle"
+ :include-local-projects t))
+
+(quit)