Skip to content

Commit 4a94da6

Browse files
quicklispxach
authored andcommitted
Remove ubiquitous
1 parent e4dee57 commit 4a94da6

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

config.lisp

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22

33
(in-package #:quicklisp-controller)
44

5-
(eval-when (:compile-toplevel :load-toplevel :execute)
6-
(ubiquitous:restore 'quicklisp-controller))
5+
(defun config-value (name)
6+
(let* ((base "quicklisp-controller:config;value.txt")
7+
(file (make-pathname :name name :defaults base)))
8+
(when (probe-file file)
9+
(with-open-file (stream file)
10+
(read-line stream)))))
711

8-
(defvar *report-to-email* (ubiquitous:value 'report-to-email)
12+
13+
(defvar *report-to-email*
14+
(config-value "report-to-email")
915
"The email address to which reports are emailed.")
1016

11-
(defparameter githappy:*oauth2-token* (ubiquitous:value 'github-access-token))
17+
(defparameter githappy:*oauth2-token*
18+
(config-value "githappy-token"))
1219

quicklisp-controller.asd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#:ironclad
1717
#:lparallel
1818
#:cl-who
19-
#:ubiquitous
2019
#:githappy
2120
#:project-info
2221
#:westbrook)

0 commit comments

Comments
 (0)