Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Antoine Martin
quickref
Commits
af23d587
Commit
af23d587
authored
Oct 16, 2017
by
Antoine Martin
Browse files
Log failed builds of texis
parent
6184aebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
website.lisp
View file @
af23d587
...
...
@@ -113,15 +113,25 @@
(
print-columns
dir-list
length
file
))
(
format
file
"</body>~%"
)))
(
defun
log-texi-error
(
err
texi
)
(
with-open-file
(
file
(
format
nil
"texi-logfiles/~A.logfile"
(
pathname-name
texi
))
:direction
:input
:if-exists
:supersede
:if-does-not-exist
:create
)
(
format
file
err
)))
(
defun
build-texis
(
path-to-texis
texinfo-path
)
(
clean-directory
"quickref"
)
(
let
((
texis
(
get-texi-pathnames
path-to-texis
)))
(
dolist
(
texi
texis
)
(
sb-ext:run-program
texinfo-path
(
list
"--html"
(
namestring
texi
)
"-o"
(
format
nil
"quickref/~A"
(
pathname-name
texi
))
"--css-ref"
"/document.css"
"-c"
"TOP_NODE_UP_URL=/"
"--force"
)
:output
*standard-output*
))))
(
let
((
out
(
with-output-to-string
(
out
)
(
sb-ext:run-program
texinfo-path
(
list
"--html"
(
namestring
texi
)
"-o"
(
format
nil
"quickref/~A"
(
pathname-name
texi
))
"--css-ref"
"/document.css"
"-c"
"TOP_NODE_UP_URL=/"
"--force"
)
:output
out
))))
(
when
(
not
(
string=
out
""
))
(
log-texi-error
out
texi
))))))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment