diff --git a/lisp/patch-quicklisp.lisp b/lisp/patch-quicklisp.lisp index 787ca81..ca275c9 100644 --- a/lisp/patch-quicklisp.lisp +++ b/lisp/patch-quicklisp.lisp @@ -1,4 +1,8 @@ (roswell:include "util") +(in-package :roswell) +(defun asd-p (file) + (equal (pathname-type file) "asd")) +(setf *load* (acons 'asd-p 'asdf:load-asd (remove 'asd-p *load* :key 'first))) (in-package :roswell.util) (defun fetch-via-roswell (url file &key (follow-redirects t) quietly (maximum-redirects 10)) "Request URL and write the body of the response to FILE." diff --git a/roswell-test.asd b/roswell-test.asd index b263365..24b0a75 100644 --- a/roswell-test.asd +++ b/roswell-test.asd @@ -1,10 +1,5 @@ -#-asdf -(require :asdf) - -(in-package :cl-user) -(defpackage roswell-test-asd - (:use :cl :asdf)) -(in-package :roswell-test-asd) +#+(and ros.init clisp) +(ros:asdf) (defsystem roswell-test :author "SANO Masatoshi" diff --git a/roswell.asd b/roswell.asd index 80c05f8..764a477 100644 --- a/roswell.asd +++ b/roswell.asd @@ -1,6 +1,3 @@ -#-asdf -(require :asdf) - #| This file is a stub. @@ -8,12 +5,6 @@ roswell does not function without help of C codes. |# -(in-package :cl-user) - -(defpackage roswell-asd - (:use :cl :asdf)) -(in-package :roswell-asd) - (defsystem roswell :version "17.5.8.78" :author "SANO Masatoshi"