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
32006bb3
Commit
32006bb3
authored
Oct 16, 2017
by
Antoine Martin
Browse files
Use lisp functions to remove directory
parent
e9f2dfca
Changes
1
Hide whitespace changes
Inline
Side-by-side
website.lisp
View file @
32006bb3
...
...
@@ -126,8 +126,19 @@
(
print-columns
dir-list
length
file
))
(
format
file
"</body>~%"
)))
(
defun
clean-directory
(
path
)
(
dolist
(
dir
(
directory
(
merge-pathnames
"*/"
(
truename
path
))))
(
clean-directory
dir
)
(
sb-ext:delete-directory
dir
))
(
dolist
(
file
(
directory
(
merge-pathnames
"*.*"
(
truename
path
))))
(
delete-file
file
)))
(
defun
remove-directory
(
path
)
(
clean-directory
path
)
(
sb-ext:delete-directory
(
truename
path
)))
(
defun
build-texis
(
path-to-texis
texinfo-path
)
(
sb-ext:run-program
"/bin/mkdir"
'
(
"quickref"
)
)
(
remove-directory
"quickref"
)
(
let
((
texis
(
get-texi-pathnames
path-to-texis
)))
(
dolist
(
texi
texis
)
(
sb-ext:run-program
texinfo-path
...
...
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