Next: Write some code, Previous: Get a comfortable environment, Up: Making a small Lisp project with quickproject and Quicklisp [Contents][Index]
For this example, I’ll make a project called “swatchblade” that generates rounded-rectangle PNGs of a particular color, and makes it available as a web service with Hunchentoot.
quickproject
to create project skeleton
(ql:quickload "quickproject")
(quickproject:make-project "~/src/lisp/swatchblade/" :depends-on '(vecto hunchentoot)) "swatchblade"
a) quickproject:make-project
creates several files in the swatchblade
directory:
package.lisp
swatchblade.lisp
swatchblade.asd
README.txt
b) It also adds the directory to your ASDF configuration, so you can immediately load the skeleton project and its dependencies:
(ql:quickload "swatchblade")
ql:quickload
will automatically install required libraries if they’re
available in Quicklisp.