Skip to content

Commit

Permalink
prep
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Oct 19, 2024
1 parent 242d59e commit 305764a
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions lisp/_prepare.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,21 @@

(defun qob-import (url)
"Load and eval the script from a URL."
(with-open-file (qob-temp-filename
:direction :output
:if-does-not-exist :create
:if-exists :supersede
:element-type '(unsigned-byte 8))
(let ((input (drakma:http-request url
:want-stream t)))
(awhile (read-byte input nil nil)
(write-byte it file))
(close input))))
(let ((bytes (dex:get url)))
(with-open-file (out qob-temp-filename
:direction :output
:if-exists :supersede
:if-does-not-exist :create
:element-type 'unsigned-byte)
(write-sequence bytes out))))

;;
;;; Package

(defun qob-install-quicklisp ()
"Install Quicklisp."
;; TODO: ..

)
(quicklisp-quickstart:install))

;;
;;; Verbose
Expand Down

0 comments on commit 305764a

Please sign in to comment.