cl-openai/cl-openai.asd

42 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-09-09 20:58:41 -04:00
(asdf:defsystem "cl-openai"
:description "OpenAI interface for Common Lisp"
:author "Bubblegumdrop <staticsunn@gmail.com>"
:version "0.1.0"
:license "WTFPL 2+"
:defsystem-depends-on (:deploy)
:depends-on (:cl-json
:drakma)
:components ((:file "package")
(:file "auth")
(:file "server")
(:file "list-models")
(:file "audio")
(:file "prompt"))
:in-order-to ((test-op (test-op "cl-openai/tests")))
:build-pathname "cl-openai"
:entry-point "cl-openai:main"
:build-operation "deploy-op")
(asdf:defsystem "cl-openai/tests"
:description "Test system for cl-openai"
:author "Bubblegumdrop <staticsunn@gmail.com>"
:license "WTFPL 2+"
:depends-on ("cl-openai"
"rove")
:components ((:module "tests"
:components
(
(:file "cl-openai")
(:file "toolkit")
(:module "models"
:components
((:file "tags"))))))
:perform (asdf:test-op (op c) (symbol-call :rove :run c)))
;; https://lisp-journey.gitlab.io/blog/lisp-for-the-web-build-standalone-binaries-foreign-libraries-templates-static-assets/
;; (deploy:define-hook (:deploy asdf) (directory)
;; ;; Thanks again to Shinmera.
;; (declare (ignorable directory))
;; #+asdf (asdf:clear-source-registry)
;; #+asdf (defun asdf:upgrade-asdf () nil))