summaryrefslogtreecommitdiff
path: root/package.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'package.lisp')
-rw-r--r--package.lisp47
1 files changed, 25 insertions, 22 deletions
diff --git a/package.lisp b/package.lisp
index ff06a36..16473c5 100644
--- a/package.lisp
+++ b/package.lisp
@@ -1,27 +1,30 @@
;;;; package.lisp
-(defpackage #:dnd
+(defpackage #:dnd.api
(:use #:cl)
- (:local-nicknames (#:db #:bknr.datastore)
- (#:idx #:bknr.indices)
- (#:lzb #:lazybones)
- (#:re #:cl-ppcre)
- (#:json #:jonathan))
- (:import-from #:lazybones
- #:defendpoint
- #:defendpoint*)
- (:import-from #:derrida
- #:with-plist))
+ (:local-nicknames
+ (#:db #:bknr.datastore)
+ (#:idx #:bknr.indices)
+ (#:lzb #:lazybones)
+ (#:re #:cl-ppcre)
+ (#:json #:jonathan))
+ (:import-from
+ #:lazybones
+ #:defendpoint
+ #:defendpoint*)
+ (:import-from
+ #:derrida
+ #:with-plist)
+ (:export
+ #:dnd.api
+ #:init-db))
-(defpackage #:dnd.api
+(defpackage #:dnd
(:use #:cl)
- (:local-nicknames (#:db #:bknr.datastore)
- (#:idx #:bknr.indices)
- (#:lzb #:lazybones)
- (#:re #:cl-ppcre)
- (#:json #:jonathan))
- (:import-from #:lazybones
- #:defendpoint
- #:defendpoint*)
- (:import-from #:derrida
- #:with-plist))
+ (:local-nicknames
+ (#:lzb #:lazybones)
+ (#:api #:dnd.api))
+ (:export
+ #:start))
+
+ ; the app's name