From 334ece1ee77c7d76a8fec046681b2f4a817685a9 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 14 Feb 2025 21:46:15 +0000 Subject: [PATCH] Split source code into different modules for cleanliness --- cantedraw.asd | 12 ++++++++---- lib.functions.lisp => lib/functions.lisp | 0 lib.macros.lisp => lib/macros.lisp | 0 main.lisp => src/main.lisp | 0 model.lisp => src/model.lisp | 0 5 files changed, 8 insertions(+), 4 deletions(-) rename lib.functions.lisp => lib/functions.lisp (100%) rename lib.macros.lisp => lib/macros.lisp (100%) rename main.lisp => src/main.lisp (100%) rename model.lisp => src/model.lisp (100%) diff --git a/cantedraw.asd b/cantedraw.asd index c3dcc4e..e3b64b4 100644 --- a/cantedraw.asd +++ b/cantedraw.asd @@ -1,10 +1,14 @@ (asdf:defsystem :cantedraw :depends-on (:alexandria) :components ((:file "packages") - (:file "lib.macros") - (:file "lib.functions") - (:file "model") - (:file "main")) + (:module "lib" + :components + ((:file "macros") + (:file "functions"))) + (:module "src" + :components + ((:file "model") + (:file "main")))) :build-operation "program-op" :build-pathname "bin/cantedraw" :entry-point "cantedraw.main:start") diff --git a/lib.functions.lisp b/lib/functions.lisp similarity index 100% rename from lib.functions.lisp rename to lib/functions.lisp diff --git a/lib.macros.lisp b/lib/macros.lisp similarity index 100% rename from lib.macros.lisp rename to lib/macros.lisp diff --git a/main.lisp b/src/main.lisp similarity index 100% rename from main.lisp rename to src/main.lisp diff --git a/model.lisp b/src/model.lisp similarity index 100% rename from model.lisp rename to src/model.lisp