Skip to content

Commit

Permalink
Merge pull request #203 from fukamachi/update-message
Browse files Browse the repository at this point in the history
Reduce the delay to show the first message when updating a dist.
  • Loading branch information
fukamachi authored Dec 1, 2023
2 parents fecb586 + 8ed814d commit 674b26e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/install.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,6 @@ exec /bin/sh \"$CURRENT/../~A\" \"$@\"
(let ((new-dist (available-update dist)))
(if new-dist
(progn
(message "Updating dist ~S version ~S -> ~S."
(name dist)
(version dist)
(version new-dist))
(map nil #'uninstall (installed-releases dist))
(run-distify-source-process source tmp-dir
:quicklisp-home system-quicklisp-home)
Expand All @@ -222,7 +218,7 @@ exec /bin/sh \"$CURRENT/../~A\" \"$@\"
(source-version source)))
(progn
(setf (source-version source) (version (find-dist (source-dist-name source))))
(message "Already have dist ~S version ~S."
(message "=> No update on dist ~S version ~S"
(source-dist-name source)
(source-version source))))
new-dist))))
Expand Down Expand Up @@ -376,6 +372,7 @@ exec /bin/sh \"$CURRENT/../~A\" \"$@\"
current-version
(source-version source))))))
(t
(message "Updating dist ~S." (source-project-name source))
(with-qlot-server (source :destination tmp-dir
:distinfo-only t
:quicklisp-home system-qlhome)
Expand Down

0 comments on commit 674b26e

Please sign in to comment.