forked from dbmcclain/Lisp-Actors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_my_bare-startup.lisp
79 lines (65 loc) · 2.15 KB
/
_my_bare-startup.lisp
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
;; -*- Mode: Lisp; coding: UTF-8 -*-
(in-package "USER")
(pushnew :asdf-unicode *features*)
#+:LISPWORKS
(progn
(pushnew :LATIN-1 system:*specific-valid-file-encodings*)
(pushnew :utf-8 system:*specific-valid-file-encodings*)
(lw:set-default-character-element-type 'cl:character))
(setf *read-default-float-format* 'double-float)
#+:LISPWORKS
(load-all-patches)
#|
(let ((prjdir "/Volumes/My Passport for Mac/projects"))
(setf (environment-variable "PROJECTS")
(if (probe-file prjdir)
prjdir
#P"~/projects")))
|#
(pushnew :COM.SD *features*)
(pushnew :COM.RAL *features*)
#+:LISPWORKS
(compile-file-if-needed "startup/dongle" :load t)
#+:ALLEGRO
(progn
(compile-file-if-needed "startup/dongle")
(load "startup/dongle"))
(require "asdf")
#+:MACOSX
(asdf:initialize-source-registry
`(:SOURCE-REGISTRY
(:EXCLUDE "dbm-git-repo")
;; (:TREE #P"~/projects/Emotiq/src/")
(:TREE #P"~/projects/Lispworks/")
;; (:TREE #P"~/Documents/GitHub/")
;; (:TREE #P"/usr/local/lisp/source/")
:IGNORE-INHERITED-CONFIGURATION))
#+:MSWINDOWS
(asdf:initialize-source-registry
`(:SOURCE-REGISTRY
(:EXCLUDE "dbm-git-repo")
;; (:TREE #P"y:/projects/Emotiq/src/")
(:TREE #P"y:/projects/Lispworks/")
;; (:TREE #P"y:/Documents/GitHub/")
;; (:TREE #P"/usr/local/lisp/source/")
:IGNORE-INHERITED-CONFIGURATION))
#+:LINUX
(asdf:initialize-source-registry
`(:SOURCE-REGISTRY
(:EXCLUDE "dbm-git-repo")
;; (:TREE #P"/media/psf/Home/projects/Emotiq/src/")
(:TREE #P"/media/psf/Home/projects/Lispworks/")
;; (:TREE #P"/usr/local/lisp/source/")
:IGNORE-INHERITED-CONFIGURATION))
;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init #-:MSWINDOWS (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))
#+:MSWINDOWS "y:/quicklisp/setup.lisp"))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
(defun asdf (lib &rest args &key &allow-other-keys)
"Shortcut for ASDF."
(apply 'asdf:oos 'asdf:load-op lib args))
;; (push "~/quicklisp/dists/emotiq/software" ql:*local-project-directories*)
;; (ql:quickload :asdf)