initial set-up for storage / tracking stuff
This commit is contained in:
parent
53a999bb38
commit
4036a03882
4 changed files with 35 additions and 7 deletions
|
@ -8,9 +8,11 @@
|
|||
:description ""
|
||||
:depends-on (:str)
|
||||
:components ((:file "forge/forge")
|
||||
(:file "storage/storage")
|
||||
(:file "storage/tracking" :depends-on ("storage/storage"))
|
||||
(:file "testing")
|
||||
(:file "test/test-forge" :depends-on ("testing" "forge/forge")))
|
||||
|
||||
(:file "test/test-forge" :depends-on ("testing" "forge/forge"))
|
||||
(:file "test/test-storage" :depends-on ("testing" "storage/storage" "storage/tracking")))
|
||||
:long-description "scopes: generic data processing facilities")
|
||||
;;#.(uiop:read-file-string
|
||||
;; (uiop:subpathname *load-pathname* "README.md")))
|
||||
|
|
11
storage/storage.lisp
Normal file
11
storage/storage.lisp
Normal file
|
@ -0,0 +1,11 @@
|
|||
;;; cl-scopes/storage
|
||||
|
||||
;;;; Common layer for SQL storage functionality.
|
||||
|
||||
(defpackage :scopes/storage
|
||||
(:use :common-lisp)
|
||||
(:export #:query
|
||||
#:track))
|
||||
|
||||
(in-package :scopes/storage)
|
||||
|
|
@ -1,10 +1,8 @@
|
|||
;;; cl-scopes/forge - may the forge be with you!
|
||||
;;; cl-scopes/storage/tracking.lisp
|
||||
|
||||
;;;; A Forth-like interpreter implemented in Common Lisp.
|
||||
;;;; A simple generic (SQL-based) storage for tracks, messages, and other stuff.
|
||||
|
||||
|
||||
(defun hello ()
|
||||
(format t "Hello Common Lisp - changed!"))
|
||||
(in-package :scopes/storage)
|
||||
|
||||
(defclass track () (
|
||||
(taskid :initarg :taskid)
|
||||
|
|
17
test/test-storage.lisp
Normal file
17
test/test-storage.lisp
Normal file
|
@ -0,0 +1,17 @@
|
|||
;;; cl-scopes/test/test-storage
|
||||
|
||||
;;;; testing facility for scopes/storage
|
||||
|
||||
(defpackage :scopes/test-storage
|
||||
(:use :common-lisp)
|
||||
(:local-nicknames (:scs :scopes/storage)
|
||||
(:sct :scopes/testing))
|
||||
(:export #:run))
|
||||
|
||||
(in-package :scopes/test-storage)
|
||||
|
||||
(defun run ()
|
||||
(let ((tst (sct:test-suite)))
|
||||
(sct:result tst)))
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue