Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
David O'Toole committed Dec 14, 2009
1 parent 193f0b5 commit 3446b70
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions make-forest-image.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
(require 'sb-posix)

(push (merge-pathnames "lib/" (values *default-pathname-defaults*))
asdf:*central-registry*)

(asdf:oos 'asdf:load-op 'xe2)

(cffi:close-foreign-library 'sdl-gfx-cffi::sdl-gfx)
(cffi:close-foreign-library 'sdl-mixer-cffi::sdl-mixer)
(cffi:close-foreign-library 'sdl-image-cffi::sdl-image)
(cffi:close-foreign-library 'sdl-cffi::sdl)

(sb-ext:save-lisp-and-die "sanctuary"
:toplevel (lambda ()
(sb-posix:putenv
(format nil "SBCL_HOME=~A"
#.(sb-ext:posix-getenv "SBCL_HOME")))
(xe2:play "forest")
0)
:executable t)


0 comments on commit 3446b70

Please sign in to comment.