-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.asd
56 lines (42 loc) · 1.6 KB
/
app.asd
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
(defun cl-user::set-local-pathname-translations ()
(setf (logical-pathname-translations "app-local")
(list (list "app-local:**;*.*.*"
#P"/Users/art/projects/lisp/github-actions/**/*.*")))
(values))
(defun cl-user::change-pathnames-to-remote ()
(setf (logical-pathname-translations "app")
(list (list "app:**;*.*.*"
#P"/app/**/*.*")))
(values))
(let* ((current-file (or *compile-file-truename*
*load-truename*))
(current-path (uiop:pathname-directory-pathname current-file))
(target-pattern-path (progn
(format *error-output* "Current path:~%")
(describe current-path *error-output*)
(merge-pathnames #P"**/*.*" current-path)))
(source-pattern-path
"app:**;*.*.*"))
(format *error-output* "Source pattern:~%")
(describe source-pattern-path *error-output*)
(format *error-output* "Target pattern:~%")
(describe target-pattern-path *error-output*)
(setf (logical-pathname-translations "app")
(list (list source-pattern-path
target-pattern-path))))
(cl-user::set-local-pathname-translations)
(pushnew "~/projects/lisp/cffi/" asdf:*central-registry*
:test #'equal)
(pushnew "~/projects/lisp/cl-plus-ssl/" asdf:*central-registry*
:test #'equal)
(pushnew "~/projects/lisp/reblocks/" asdf:*central-registry*
:test #'equal)
(defsystem "app"
:class :package-inferred-system
:license "Unlicense"
:description "A server to render SVG representation of Github Action's results."
:author "Alexander Artemenko"
:version "0.4.0"
;; :pathname #P"app:src;"
:pathname "src"
:depends-on ("app/server"))