mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
local-projects to support env
This commit is contained in:
parent
ad0ecbc540
commit
ee80ddccc9
|
|
@ -180,7 +180,9 @@ have the latest asdf, and this file has a workaround for this.
|
|||
(cl:load path :verbose (verbose))
|
||||
(loop with symbol = (read-from-string "ql:*local-project-directories*")
|
||||
for path in `(,local ,@(and (or path (and environment (getenv environment)))
|
||||
`(,(merge-pathnames "local-projects/" (opt "homedir")))))
|
||||
`(,(merge-pathnames (format nil "env/~A/local-projects/" (opt "roswellenv"))
|
||||
(opt "homedir"))
|
||||
,(merge-pathnames "local-projects/" (opt "homedir")))))
|
||||
for probe = (and path (or (ignore-errors (probe-file path))
|
||||
#+clisp(ext:probe-directory path)))
|
||||
when probe
|
||||
|
|
|
|||
Loading…
Reference in a new issue