diff --git a/README.md b/README.md index e4b5b47..14cbab7 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,10 @@ # Usage -[Examples of usage] +## Minify for production +```lisp +(write root-element :pretty nil) +``` # License diff --git a/flute.asd b/flute.asd index e3948fa..b0e2ba5 100644 --- a/flute.asd +++ b/flute.asd @@ -5,7 +5,9 @@ :components ((:module "src" :serial t :components - ((:file "flute")))) + ((:file "package") + (:file "util") + (:file "flute")))) :description "A beautiful, easilly composable html generation library" :long-description #.(uiop:read-file-string diff --git a/src/flute.lisp b/src/flute.lisp index 2f269ca..b539778 100644 --- a/src/flute.lisp +++ b/src/flute.lisp @@ -1,33 +1,3 @@ -(in-package :cl-user) -(defpackage flute - (:use :cl) - (:import-from :assoc-utils - :alist - :alistp - :hash-alist - :aget - :delete-from-alistf) - (:import-from :let-over-lambda - :defmacro! - :mkstr - :flatten) - (:import-from :alexandria - :make-keyword) - (:export - ;; all html5 elements, e.g. div, nav, media, export in code - ;; except