summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-05-30 21:31:37 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-05-30 21:31:37 +0200
commitdb5200fe378b0e610284ecf2df27b9f15c13806d (patch)
treee12ee5ed705a97a7320cc09868416b36edc93a69
parent612261fdfcbbd5bdee172f345a03e233f87fa1e2 (diff)
Add a shell script that generates a CLISP core file for use on NFS.net.
darcs-hash:64159bbe8d906d1857c012234aea5c756add8977
-rwxr-xr-xmake-clisp-package.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-clisp-package.sh b/make-clisp-package.sh
new file mode 100755
index 0000000..b254b62
--- /dev/null
+++ b/make-clisp-package.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+cd ~
+for x in Downloads/Darcs/{metabang-bind,iterate,cl-markdown,cl-containers,defsystem-compatibility,alexandria,lw-compat,moptilities,metatilities,Bese/arnesi_dev,Bese/yaclml,asdf-system-connections,closer-mop,parenscript} .clc/site/{xml-emitter-1.0.2,lisp-cgi-utils-0.9,cl-utilities-1.2.4} /usr/share/common-lisp/source/{asdf,cl-fad,cl-ppcre,slime}; do
+ find "$x" -not -regex ".*/_darcs/.*" \( -regex ".*\\.lisp" -or -regex ".*\\.asd" \)
+done | tar -T - -cjf - | ssh mulk_benkard@ssh.phx.nearlyfreespeech.net 'mkdir -p /tmp/clisp-stuff && cd /tmp/clisp-stuff && tar xjf - && mkdir -p /tmp/asdf && cd /tmp/asdf && find ../clisp-stuff -name "*.asd" | xargs -I "{}" ln -sf "{}" . && cd ../clisp-stuff && mkdir -p /home/tmp/clisp-stuff/Downloads/Darcs/asdf-system-connections/website/source/images && touch /home/tmp/clisp-stuff/Downloads/Darcs/asdf-system-connections/website/source/index.lml && clisp -x "(load \"usr/share/common-lisp/source/asdf/asdf.lisp\")" -x "(let ((asdf:*central-registry* (quote (#p\"/tmp/asdf/\")))) (dolist (x (list :cl-ppcre :cl-fad :iterate :cl-markdown :parenscript :yaclml :lisp-cgi-utils :alexandria :xml-emitter)) (asdf:oos (quote asdf:load-op) x)) (saveinitmem \"lispinit.mem\"))" && gzip -f lispinit.mem && mv lispinit.mem.gz /home/private/ && rm -rf /tmp/clisp-stuff && rm -rf /tmp/asdf'