summaryrefslogtreecommitdiffstats
path: root/make-image.lisp
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-09 13:57:52 +0200
committerGravatar Tom Willemse2013-05-09 13:57:52 +0200
commit690604a71dbcfd82eb007e83430c3a176cfd694c (patch)
treed69f2a9abd78fad0515258ada03d4e48c83ae074 /make-image.lisp
downloadxmpp-send-690604a71dbcfd82eb007e83430c3a176cfd694c.tar.gz
xmpp-send-690604a71dbcfd82eb007e83430c3a176cfd694c.zip
Initial commitHEADmaster
Diffstat (limited to 'make-image.lisp')
-rw-r--r--make-image.lisp14
1 files changed, 14 insertions, 0 deletions
diff --git a/make-image.lisp b/make-image.lisp
new file mode 100644
index 0000000..2d36021
--- /dev/null
+++ b/make-image.lisp
@@ -0,0 +1,14 @@
+#-sbcl
+(error "This lisp implementation is not supported.")
+
+(require 'asdf)
+
+(asdf:oos 'asdf:load-op 'xmpp-send)
+
+(save-lisp-and-die
+ "xmpp-send" :toplevel
+ (lambda ()
+ (sb-posix:putenv (format nil "SBCL_HOME=~A" #.(sb-ext:posix-getenv "SBCL_HOME")))
+ (org.ryuslash.xmpp-send:xmpp-send sb-ext:*posix-argv*)
+ 0)
+ :executable t)