-
Notifications
You must be signed in to change notification settings - Fork 0
/
builder.ros
executable file
·39 lines (30 loc) · 1.09 KB
/
builder.ros
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#
(progn ;;init forms
(ros:ensure-asdf)
#+quicklisp(ql:quickload '() :silent t)
)
(defpackage :ros.script.builder.3911630921
(:use :cl))
(in-package :ros.script.builder.3911630921)
(defun main (&rest argv)
(declare (ignorable argv))
(format t "going to create executable with ~A ~A~%" (lisp-implementation-type) (lisp-implementation-version))
(if (eq (uiop/os:detect-os) :os-windows)
(push #p"c:/Users/jacek/Programming/Lisp/clos-sweeper/" asdf:*central-registry*)
(push #p"~/Programming/Lisp/clos-sweeper/" asdf:*central-registry*))
(unless (member "ultralisp"
(mapcar (lambda (d)
(ql-dist:name d))
(ql-dist:all-dists))
:test #'string=)
(ql-dist:install-dist "http://dist.ultralisp.org/"
:prompt nil))
(ql:quickload :clos-sweeper)
(asdf:make :clos-sweeper)
(format t "created executable with ~A ~A~%" (lisp-implementation-type) (lisp-implementation-version))
)
;;; vim: set ft=lisp lisp: