From 00f0311473789cbb0229d939c1c4396e277a071f Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Wed, 24 Aug 2016 15:33:07 -0500 Subject: [PATCH] setup-plt -> raco setup Survived unnoticed for 6+ years. --- pkgs/racket-doc/scribblings/raco/launcher.scrbl | 2 +- pkgs/racket-doc/scribblings/raco/make.scrbl | 2 +- pkgs/racket-doc/scribblings/raco/setup.scrbl | 2 -- racket/collects/planet/private/planet-shared.rkt | 2 +- racket/collects/setup/private/lib-roots.rkt | 2 +- racket/collects/setup/private/omitted-paths.rkt | 2 +- 6 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/racket-doc/scribblings/raco/launcher.scrbl b/pkgs/racket-doc/scribblings/raco/launcher.scrbl index fed3699922..fe28b5a1ef 100644 --- a/pkgs/racket-doc/scribblings/raco/launcher.scrbl +++ b/pkgs/racket-doc/scribblings/raco/launcher.scrbl @@ -51,7 +51,7 @@ the following additional associations apply to launchers: @item{@racket['independent?] (Windows) --- a boolean; @racket[#t] creates an old-style launcher that work with any - Racket or GRacket binary, like @exec{setup-plt.exe}. No other + Racket or GRacket binary, like @exec{raco.exe}. No other @racket[aux] associations are used for an old-style launcher.} @item{@racket['exe-name] (Mac OS X, @racket['script-3m] or diff --git a/pkgs/racket-doc/scribblings/raco/make.scrbl b/pkgs/racket-doc/scribblings/raco/make.scrbl index 547a03a7e6..46aaa26333 100644 --- a/pkgs/racket-doc/scribblings/raco/make.scrbl +++ b/pkgs/racket-doc/scribblings/raco/make.scrbl @@ -374,7 +374,7 @@ marks include @racket[managed-compiled-context-key] keys. @defboolparam[trust-existing-zos trust?]{ -A parameter that is intended for use by @exec{setup-plt} when +A parameter that is intended for use by @exec{raco setup} when installing with pre-built @filepath{.zo} files. It causes a compilation-manager @racket[load/use-compiled] handler to ``touch'' out-of-date @filepath{.zo} files instead of re-compiling from source.} diff --git a/pkgs/racket-doc/scribblings/raco/setup.scrbl b/pkgs/racket-doc/scribblings/raco/setup.scrbl index 9b9112b9ab..f81d811344 100644 --- a/pkgs/racket-doc/scribblings/raco/setup.scrbl +++ b/pkgs/racket-doc/scribblings/raco/setup.scrbl @@ -49,8 +49,6 @@ @(define ref-src '(lib "scribblings/reference/reference.scrbl")) -@(define setup-plt @exec{setup-plt}) - @(define (defaults v) @elem{The default is @|v|.}) diff --git a/racket/collects/planet/private/planet-shared.rkt b/racket/collects/planet/private/planet-shared.rkt index 76fc34c50a..c95280a4b3 100644 --- a/racket/collects/planet/private/planet-shared.rkt +++ b/racket/collects/planet/private/planet-shared.rkt @@ -131,7 +131,7 @@ Various common pieces of code that both the client and server need to access ;; lookup-package-by-keys : string string nat nat nat -> (list path string string (listof string) nat nat) | #f ;; looks up and returns a list representation of the package named by the given owner, ;; package name, major and (exact) minor version. - ;; this function is intended to be useful for setup-plt and other applications that need to know where planet + ;; this function is intended to be useful for raco setup and other applications that need to know where planet ;; packages live (define (lookup-package-by-keys owner name maj min-lo min-hi) (let ([result diff --git a/racket/collects/setup/private/lib-roots.rkt b/racket/collects/setup/private/lib-roots.rkt index bd54fe11a2..b4914a1d07 100644 --- a/racket/collects/setup/private/lib-roots.rkt +++ b/racket/collects/setup/private/lib-roots.rkt @@ -16,7 +16,7 @@ ,(cons (planet:CACHE-DIR) 4) ;; add planet links, each as a root (if there is a change in ;; the format, this will just ignore these paths, but these - ;; collections will throw an error in setup-plt) + ;; collections will throw an error in raco setup) ,@(with-handlers ([exn? (lambda (e) (printf "WARNING: bad planet links at ~a:\n ~a" (planet:HARD-LINK-FILE) (exn-message e)) diff --git a/racket/collects/setup/private/omitted-paths.rkt b/racket/collects/setup/private/omitted-paths.rkt index 2c7c9e58be..5aded3842b 100644 --- a/racket/collects/setup/private/omitted-paths.rkt +++ b/racket/collects/setup/private/omitted-paths.rkt @@ -4,7 +4,7 @@ ;; given directory, or 'all if the directory is completely omitted. Considers ;; the local info.rkt as well as info.rkt in parent directories all the way to a ;; collection root. (Could be a bit easier using `find-relevant-directories', -;; but it needs to be available for setup-plt, before the "info-domain" caches +;; but it needs to be available for raco setup, before the "info-domain" caches ;; are created.) (provide omitted-paths)