From c6ebce4fddf08f4b18b4eb2b580d72ffe5efee11 Mon Sep 17 00:00:00 2001 From: Brian O'Reilly Date: Sat, 30 Aug 2025 10:04:11 -0400 Subject: [PATCH] reorganize the system around radiance specific build conventions. --- asteroid.asd | 14 +++++++++++--- asteroid.lisp | 12 +++++------- module.lisp | 3 +++ 3 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 module.lisp diff --git a/asteroid.asd b/asteroid.asd index 9c6d1bc..368eab8 100644 --- a/asteroid.asd +++ b/asteroid.asd @@ -6,11 +6,19 @@ :author "Brian O'Reilly " :license "GNU AFFERO GENERAL PUBLIC LICENSE V.3" :serial t - :depends-on (:RADIANCE - :SPINNERET - :CL-JSON + :version "0.0.0" + :defsystem-depends-on (:radiance) + :class "radiance:virtual-module" + + :depends-on (:radiance + :r-clip + :spinneret + :cl-json + ;; :com.inuoe.jzon + :dexador ) :pathname "./" :components ((:file "app-utils") + (:file "module") (:file "asteroid"))) diff --git a/asteroid.lisp b/asteroid.lisp index a71a534..7a2f2f5 100644 --- a/asteroid.lisp +++ b/asteroid.lisp @@ -1,11 +1,9 @@ ;; -*-lisp-*- -(defpackage :asteroid - (:use :cl :radiance) - (:use :asteroid.app-utils) - (:export :-main - :start-server - :stop-server - :run-server)) +;; (defpackage :asteroid +;; (:use :cl :radiance) +;; (:use :asteroid.app-utils) + +;; (:export :-main :start-server :stop-server :run-server)) (in-package :asteroid) diff --git a/module.lisp b/module.lisp new file mode 100644 index 0000000..de7ef38 --- /dev/null +++ b/module.lisp @@ -0,0 +1,3 @@ +(in-package #:rad-user) +(define-module #:asteroid + (:use #:cl #:radiance #:asteroid.app-utils))