Change from MK-DEFSYSTEM to ASDF, rename .cl to .lisp files.

This commit is contained in:
2012-11-18 01:19:00 +01:00
parent 4cfba7a75c
commit a5585fac6c
34 changed files with 91 additions and 91 deletions

15
examples/static-test.lisp Normal file
View File

@ -0,0 +1,15 @@
;;(eval-when (:compile-toplevel :load-toplevel :execute) (require "CLASH"))
(defpackage :CLASH-BENCH (:use :cl :CLASH))
(in-package :CLASH-BENCH)
(eval-when (:compile-toplevel :load-toplevel :execute) (enable-clash-syntax))
(defvar *my-server* (make-instance 'http-server/1.0))
(apply #'export-files *my-server* "image/gif" #u"/img/" (directory "*.gif"))
(apply #'export-files *my-server* "image/jpeg" #u"/img/" (directory "*.jpg"))
(apply #'export-files *my-server* "text/html" #u"/" (directory "*.html"))
(start-http-listener 3080 *my-server*)
(initialize-clash)
(eval-when (:compile-toplevel :load-toplevel :execute) (disable-clash-syntax))