diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae40749 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.qlot/ diff --git a/ningle-fbr.asd b/ningle-fbr.asd new file mode 100644 index 0000000..4c99549 --- /dev/null +++ b/ningle-fbr.asd @@ -0,0 +1,10 @@ +(defsystem "ningle-fbr" + :version "0.1.0" + :description "Plugin for ningle to enable file-based routing" + :long-description #.(uiop:read-file-string + (uiop:subpathname *load-pathname* "README.md")) + :author "skyizwhite " + :license "MIT" + :class :package-inferred-system + :pathname "src" + :depends-on ("ningle-fbr/main")) diff --git a/qlfile b/qlfile new file mode 100644 index 0000000..ac827b7 --- /dev/null +++ b/qlfile @@ -0,0 +1 @@ +ql ningle diff --git a/qlfile.lock b/qlfile.lock new file mode 100644 index 0000000..35d083e --- /dev/null +++ b/qlfile.lock @@ -0,0 +1,8 @@ +("quicklisp" . + (:class qlot/source/dist:source-dist + :initargs (:distribution "https://beta.quicklisp.org/dist/quicklisp.txt" :%version :latest) + :version "2023-10-21")) +("ningle" . + (:class qlot/source/ql:source-ql + :initargs (:%version :latest) + :version "ql-2023-10-21")) diff --git a/src/main.lisp b/src/main.lisp new file mode 100644 index 0000000..bdec57b --- /dev/null +++ b/src/main.lisp @@ -0,0 +1,9 @@ +(uiop:define-package :ningle-fbr + (:nicknames #:ningle-fbr/main) + (:use #:cl + #:ningle) + (:export #:enable-file-based-routing)) +(in-package :ningle-fbr) + +(defun enable-file-based-routing (app directory) + (declare (ignore app directory)))