From 0343f0126349fc60054a5d813926060783edd5d5 Mon Sep 17 00:00:00 2001 From: paku Date: Mon, 27 May 2024 16:54:46 +0900 Subject: [PATCH] Define hsx package --- hsx.asd | 2 +- src/main.lisp | 9 ++++----- tests/element.lisp | 10 +++++----- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/hsx.asd b/hsx.asd index 89e4be6..568662f 100644 --- a/hsx.asd +++ b/hsx.asd @@ -1,7 +1,7 @@ (defsystem "hsx" :version "0.1.0" :description "A beautiful, easily composable HTML5 generation library" - :author "Bo Yao, skyizwhite" + :author "skyizwhite, Bo Yao" :maintainer "skyizwhite " :license "MIT" :long-description #.(uiop:read-file-string diff --git a/src/main.lisp b/src/main.lisp index cf188c4..635063b 100644 --- a/src/main.lisp +++ b/src/main.lisp @@ -1,7 +1,6 @@ -(defpackage :hsx +(uiop:define-package :hsx (:nicknames #:hsx/main) - (:import-from #:hsx/element) - (:import-from #:hsx/hsx) - (:import-from #:hsx/builtin) - (:use #:cl)) + (:use #:cl) + (:use-reexport #:hsx/hsx) + (:import-from #:hsx/builtin)) (in-package :hsx) diff --git a/tests/element.lisp b/tests/element.lisp index a0b8f7e..36964d5 100644 --- a/tests/element.lisp +++ b/tests/element.lisp @@ -1,8 +1,8 @@ -(defpackage :hsx-test/element - (:use :cl - :fiveam - :hsx/element)) -(in-package :hsx-test/element) +(defpackage #:hsx-test/element + (:use #:cl + #:fiveam + #:hsx/element)) +(in-package #:hsx-test/element) (def-suite element-test) (in-suite element-test)