File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1616 # :ironclad
1717 # :lparallel
1818 # :cl-who
19- # :ubiquitous
2019 # :githappy
2120 # :project-info
2221 # :westbrook)
You can’t perform that action at this time.
0 commit comments