From add2fe905028b9f9926f10a9e862d2fec1511106 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 23 Aug 2022 00:51:38 +0200 Subject: 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. --- bundle.lisp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bundle.lisp (limited to 'bundle.lisp') 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) -- cgit v1.2.3 From ccda038e714b1b48de214626ab68f4a9c0c6701c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 25 Aug 2022 20:53:10 +0200 Subject: bundle.lisp: Remove `sysexits` from `local-dependencies` list Sysexits is now in Quicklisp so we don't need to load it here. --- bundle.lisp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bundle.lisp') diff --git a/bundle.lisp b/bundle.lisp index 2069940..c5e9c66 100644 --- a/bundle.lisp +++ b/bundle.lisp @@ -2,8 +2,7 @@ (let ((dependencies (append (asdf:system-depends-on (asdf:find-system :extreload)))) - (local-dependencies '("sysexits" - "wait-group"))) + (local-dependencies '("wait-group"))) (ql:bundle-systems (set-difference (sort dependencies #'string-lessp) -- cgit v1.2.3 From ab47e8726d57daa115f3d292a40a36fa1e768818 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 25 Aug 2022 21:25:33 +0200 Subject: Update copyright dates after bundle changes --- bundle.lisp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'bundle.lisp') diff --git a/bundle.lisp b/bundle.lisp index c5e9c66..6bc04ac 100644 --- a/bundle.lisp +++ b/bundle.lisp @@ -1,3 +1,21 @@ +;;; Copyright (c) 2022 Teddy Wing +;;; +;;; This file is part of Extreload. +;;; +;;; Extreload is free software: you can redistribute it and/or modify +;;; it under the terms of the GNU General Public License as published by +;;; the Free Software Foundation, either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; Extreload is distributed in the hope that it will be useful, +;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with Extreload. If not, see . + + (setf ql:*local-project-directories* '("./lib")) (let ((dependencies (append -- cgit v1.2.3