Skip to content

Commit

Permalink
Use uiop:define-package.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Nov 17, 2023
1 parent 338f4e8 commit c9c1f99
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 18 deletions.
3 changes: 1 addition & 2 deletions src/cache.lisp
@@ -1,5 +1,4 @@
(in-package :cl-user)
(defpackage datafly.cache
(uiop:define-package datafly.cache
(:use :cl
:iterate
:function-cache
Expand Down
1 change: 0 additions & 1 deletion src/datafly.lisp
@@ -1,4 +1,3 @@
(in-package :cl-user)
(defpackage datafly
(:use :cl)
(:import-from :datafly.db
Expand Down
3 changes: 1 addition & 2 deletions src/db.lisp
@@ -1,5 +1,4 @@
(in-package :cl-user)
(defpackage :datafly.db
(uiop:define-package :datafly.db
(:use :cl
:iterate
:sxql
Expand Down
3 changes: 1 addition & 2 deletions src/inflate.lisp
@@ -1,5 +1,4 @@
(in-package :cl-user)
(defpackage datafly.inflate
(uiop:define-package datafly.inflate
(:use :cl
:datafly.syntax)
(:import-from :datafly.db
Expand Down
3 changes: 1 addition & 2 deletions src/json.lisp
@@ -1,5 +1,4 @@
(in-package :cl-user)
(defpackage datafly.json
(uiop:define-package datafly.json
(:use :cl
:iterate
:datafly.syntax)
Expand Down
3 changes: 1 addition & 2 deletions src/logger.lisp
@@ -1,5 +1,4 @@
(in-package :cl-user)
(defpackage datafly.logger
(uiop:define-package datafly.logger
(:use :cl
:datafly.syntax))
(in-package datafly.logger)
Expand Down
3 changes: 1 addition & 2 deletions src/model.lisp
@@ -1,5 +1,4 @@
(in-package :cl-user)
(defpackage datafly.model
(uiop:define-package datafly.model
(:use :cl
:optima
:iterate
Expand Down
3 changes: 1 addition & 2 deletions src/util.lisp
@@ -1,5 +1,4 @@
(in-package :cl-user)
(defpackage datafly.util
(uiop:define-package datafly.util
(:use :cl
:datafly.syntax))
(in-package :datafly.util)
Expand Down
3 changes: 1 addition & 2 deletions t/datafly.lisp
@@ -1,5 +1,4 @@
(in-package :cl-user)
(defpackage datafly-test
(uiop:define-package datafly-test
(:use :cl
:datafly
:datafly.syntax
Expand Down
1 change: 0 additions & 1 deletion t/json.lisp
@@ -1,4 +1,3 @@
(in-package :cl-user)
(defpackage datafly-test.json
(:use :cl
:datafly
Expand Down

0 comments on commit c9c1f99

Please sign in to comment.