a step toward single-collection packages as default
A package's "info.rkt" file should define `collection' as a string to name a single-collection package's collection, or as the symbol 'multi to declare the package as multi-collection. If `collection' is 'same-as-pkg, then the package name is used as the collection name. The default for `collection' is 'multi for now, but the intent is to change the default to 'same-as-pkg after a conversion period. Also, support for a `single-collection' definition remains in place, but it wil be removed.
This commit is contained in:
parent
1ee88e2721
commit
c738a6aa3e
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "algol60")
|
(define collection "algol60")
|
||||||
(define build-deps '("drracket"))
|
(define build-deps '("drracket"))
|
||||||
|
|
||||||
(define tools '(("tool.rkt")))
|
(define tools '(("tool.rkt")))
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "contract-profile")
|
(define collection "contract-profile")
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "datalog")
|
(define collection "datalog")
|
||||||
|
|
||||||
(define scribblings '(["scribblings/datalog.scrbl" (multi-page) (language)]))
|
(define scribblings '(["scribblings/datalog.scrbl" (multi-page) (language)]))
|
||||||
|
|
||||||
|
|
|
@ -5,3 +5,4 @@
|
||||||
|
|
||||||
;; We need a multi-collection package because
|
;; We need a multi-collection package because
|
||||||
;; "deinprogramm/info.rkt" uses `string-constants'
|
;; "deinprogramm/info.rkt" uses `string-constants'
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "distro-build")
|
(define collection "distro-build")
|
||||||
|
|
||||||
(define deps '("at-exp-lib"
|
(define deps '("at-exp-lib"
|
||||||
"web-server-lib"
|
"web-server-lib"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("draw-lib"
|
(define build-deps '("draw-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps
|
(define deps
|
||||||
'(("draw-i386-macosx" #:platform "i386-macosx")
|
'(("draw-i386-macosx" #:platform "i386-macosx")
|
||||||
("draw-x86_64-macosx" #:platform "x86_64-macosx")
|
("draw-x86_64-macosx" #:platform "x86_64-macosx")
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("draw-lib"
|
(define deps '("draw-lib"
|
||||||
"draw-doc"))
|
"draw-doc"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("gui-lib"
|
(define deps '("gui-lib"
|
||||||
"racket-index"
|
"racket-index"
|
||||||
"racket-doc"
|
"racket-doc"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "eopl")
|
(define collection "eopl")
|
||||||
|
|
||||||
(define scribblings '(("eopl.scrbl" () (teaching -20))))
|
(define scribblings '(("eopl.scrbl" () (teaching -20))))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "frtime")
|
(define collection "frtime")
|
||||||
|
|
||||||
(define name "FrTime")
|
(define name "FrTime")
|
||||||
|
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("gui-lib"))
|
(define deps '("gui-lib"))
|
||||||
(define build-deps '("racket-doc"))
|
(define build-deps '("racket-doc"))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "games")
|
(define collection "games")
|
||||||
|
|
||||||
(define scribblings '(("scribblings/games.scrbl" (multi-page) (gui-library))))
|
(define scribblings '(("scribblings/games.scrbl" (multi-page) (gui-library))))
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("gui-lib"
|
(define build-deps '("gui-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("draw-lib"
|
(define deps '("draw-lib"
|
||||||
"snip-lib"
|
"snip-lib"
|
||||||
"wxme-lib"
|
"wxme-lib"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("gui-lib"
|
(define deps '("gui-lib"
|
||||||
"gui-doc"))
|
"gui-doc"))
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "honu")
|
(define collection "honu")
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("drracket"
|
(define deps '("drracket"
|
||||||
"deinprogramm"))
|
"deinprogramm"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("html-lib"
|
(define build-deps '("html-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("html-lib"
|
(define deps '("html-lib"
|
||||||
"html-doc"))
|
"html-doc"))
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "icons")
|
(define collection "icons")
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "images")
|
(define collection "images")
|
||||||
|
|
||||||
(define deps '("typed-racket-lib"))
|
(define deps '("typed-racket-lib"))
|
||||||
(define build-deps '("racket-doc"
|
(define build-deps '("racket-doc"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "lazy")
|
(define collection "lazy")
|
||||||
|
|
||||||
(define scribblings '(("lazy.scrbl" () (experimental 50))))
|
(define scribblings '(("lazy.scrbl" () (experimental 50))))
|
||||||
|
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("macro-debugger-text-lib"))
|
(define deps '("macro-debugger-text-lib"))
|
||||||
(define build-deps '("racket-doc"))
|
(define build-deps '("racket-doc"))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "make")
|
(define collection "make")
|
||||||
|
|
||||||
(define scribblings '(("make.scrbl" (multi-page) (tool-library))))
|
(define scribblings '(("make.scrbl" (multi-page) (tool-library))))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "math")
|
(define collection "math")
|
||||||
|
|
||||||
(define scribblings '(["scribblings/math.scrbl" (multi-page)]))
|
(define scribblings '(["scribblings/math.scrbl" (multi-page)]))
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "mysterx")
|
(define collection "mysterx")
|
||||||
|
|
||||||
(define scribblings '(("scribblings/mysterx.scrbl" (multi-page) (legacy))))
|
(define scribblings '(("scribblings/mysterx.scrbl" (multi-page) (legacy))))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "mzcom")
|
(define collection "mzcom")
|
||||||
|
|
||||||
(define post-install-collection "installer.rkt")
|
(define post-install-collection "installer.rkt")
|
||||||
|
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("parser-tools-lib"
|
(define deps '("parser-tools-lib"
|
||||||
"parser-tools-doc"))
|
"parser-tools-doc"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("pict-lib"
|
(define build-deps '("pict-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("draw-lib" "snip-lib"))
|
(define deps '("draw-lib" "snip-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("pict-lib"
|
(define deps '("pict-lib"
|
||||||
"pict-doc"))
|
"pict-doc"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("htdp"))
|
(define deps '("htdp"))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "plai")
|
(define collection "plai")
|
||||||
|
|
||||||
(define blurb '("Language levels for the Programming Languages: Application and Interpretation textbook"))
|
(define blurb '("Language levels for the Programming Languages: Application and Interpretation textbook"))
|
||||||
(define homepage "http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/")
|
(define homepage "http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/")
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "plot")
|
(define collection "plot")
|
||||||
|
|
||||||
(define scribblings '(["scribblings/plot.scrbl" (multi-page) (gui-library)]))
|
(define scribblings '(["scribblings/plot.scrbl" (multi-page) (gui-library)]))
|
||||||
|
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "preprocessor")
|
(define collection "preprocessor")
|
||||||
|
|
||||||
(define mzscheme-launcher-names '("mzpp" "mztext"))
|
(define mzscheme-launcher-names '("mzpp" "mztext"))
|
||||||
(define mzscheme-launcher-libraries '("mzpp-run.rkt" "mztext-run.rkt"))
|
(define mzscheme-launcher-libraries '("mzpp-run.rkt" "mztext-run.rkt"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("profile-lib"
|
(define build-deps '("profile-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("profile-lib"
|
(define deps '("profile-lib"
|
||||||
"profile-doc"))
|
"profile-doc"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("r5rs-lib"
|
(define build-deps '("r5rs-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("r5rs-lib"
|
(define deps '("r5rs-lib"
|
||||||
"r5rs-doc"))
|
"r5rs-doc"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("r6rs-lib"
|
(define build-deps '("r6rs-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("r5rs-lib"))
|
(define deps '("r5rs-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("r6rs-lib"
|
(define deps '("r6rs-lib"
|
||||||
"r6rs-doc"))
|
"r6rs-doc"))
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("racket-index"))
|
(define deps '("racket-index"))
|
||||||
(define build-deps '("web-server"
|
(define build-deps '("web-server"
|
||||||
"gui"
|
"gui"
|
||||||
|
|
|
@ -83,18 +83,39 @@ name as the package. The @tech{checksum} is typically left implicit.
|
||||||
The package directory can contain a file named @filepath{info.rkt}
|
The package directory can contain a file named @filepath{info.rkt}
|
||||||
to declare other metadata (see @secref["metadata"]).
|
to declare other metadata (see @secref["metadata"]).
|
||||||
|
|
||||||
A @tech{package} is a @deftech{multi-collection package} by default;
|
[@bold{The following paragraph and itemization is intentionally wrong.}
|
||||||
each directory within the package is a @gtech{collection} that is
|
Currently, if a package has no @filepath{info.rkt} file or no
|
||||||
provided by the package. If a @tech{package} has an
|
@racketidfont{collection} definition, it is treated as
|
||||||
@filepath{info.rkt} file that defines @racketidfont{single-collection}
|
@tech{multi-collection package}. Also,
|
||||||
as a string, then the package is a @deftech{single-collection
|
@racketidfont{single-collection} is supported for temporary backward
|
||||||
package}; in that case, the package directory doubles as
|
compatibility. The documentation from here on reflects the planned
|
||||||
@gtech{collection} named by @racketidfont{single-collection}.
|
behavior.]
|
||||||
|
|
||||||
|
A @tech{package} can be a @tech{single-collection package} or a
|
||||||
|
@tech{multi-collection package}:
|
||||||
|
|
||||||
|
@itemlist[
|
||||||
|
|
||||||
|
@item{A @deftech{single-collection package}'s directory doubles as a
|
||||||
|
@gtech{collection} directory. By default, the package name also
|
||||||
|
doubles as the collection name, but if the package has an
|
||||||
|
@filepath{info.rkt} file that defines @racketidfont{collection} to a
|
||||||
|
string, then the string is used as the name of the package's
|
||||||
|
collection.}
|
||||||
|
|
||||||
|
@item{A @deftech{multi-collection package}'s directory contains
|
||||||
|
subdirectories, each of which is a @gtech{collection} that is
|
||||||
|
provided by the package (where the directory name is used as
|
||||||
|
the collection name). A @tech{multi-collection package} must
|
||||||
|
have an @filepath{info.rkt} file that defines
|
||||||
|
@racketidfont{collection} as @racket['multi].}
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
More generally, a @deftech{package source} identifies a @tech{package}
|
More generally, a @deftech{package source} identifies a @tech{package}
|
||||||
representation. Each package source type has a different way of
|
representation. Each package source type has a different way of
|
||||||
storing the @tech{checksum} and providing the package content (usually
|
storing the @tech{checksum} and providing the package content (usually
|
||||||
with @tech{multi-collection package} and @tech{single-collection
|
with @tech{single-collection package} and @tech{multi-collection
|
||||||
package} variants). The valid @tech{package source} types are:
|
package} variants). The valid @tech{package source} types are:
|
||||||
|
|
||||||
@itemlist[
|
@itemlist[
|
||||||
|
@ -291,7 +312,7 @@ sub-sub-commands:
|
||||||
@item{@DFlag{link} --- Implies @exec{--type dir} (and overrides any specified type),
|
@item{@DFlag{link} --- Implies @exec{--type dir} (and overrides any specified type),
|
||||||
and links the existing directory as an installed package. The package is identified
|
and links the existing directory as an installed package. The package is identified
|
||||||
as a @tech{single-collection package} or a @tech{multi-collection package} at the
|
as a @tech{single-collection package} or a @tech{multi-collection package} at the
|
||||||
time that it is installed, and that categorization does not change even if the @schemeidfont{single-collection}
|
time that it is installed, and that categorization does not change even if the @schemeidfont{collection}
|
||||||
definition in @filepath{info.rkt} is changed (i.e., he package must be removed and re-installed
|
definition in @filepath{info.rkt} is changed (i.e., he package must be removed and re-installed
|
||||||
for the change to take effect).}
|
for the change to take effect).}
|
||||||
|
|
||||||
|
@ -522,16 +543,16 @@ Optionally, enter your directory and create a basic @filepath{info.rkt} file:
|
||||||
@commandline{echo "(define deps (list))" >> info.rkt}
|
@commandline{echo "(define deps (list))" >> info.rkt}
|
||||||
|
|
||||||
The @filepath{info.rkt} file is not necessary for a
|
The @filepath{info.rkt} file is not necessary for a
|
||||||
@tech{multi-collection package} with no dependencies, but you may wish
|
@tech{single-collection package} with no dependencies, but you may
|
||||||
to create it to simplify adding dependencies in the future. For a
|
wish to create it to simplify adding dependencies in the future. For
|
||||||
@tech{single-collection package}, you must create an
|
a @tech{multi-collection package}, you must create an
|
||||||
@filepath{info.rkt} file, and you must give the collection a name,
|
@filepath{info.rkt} file and define @racketidfont{collection} as
|
||||||
@nonterm{collect}:
|
@racket['multi]:
|
||||||
|
|
||||||
@commandline{echo '(define single-collection "@nonterm{collect}")' >> info.rkt}
|
@commandline{echo "(define collection 'multi)" >> info.rkt}
|
||||||
|
|
||||||
Note that in the case of a @tech{multi-collection package}, the
|
Note that in the case of a @tech{multi-collection package}, the
|
||||||
@filepath{info.rkt} is for the package, not for a collection;
|
@filepath{info.rkt} file is for the package, not for a collection;
|
||||||
definitions such as @racket[scribblings] or @racket[raco-commands]
|
definitions such as @racket[scribblings] or @racket[raco-commands]
|
||||||
work only in a collection's @filepath{info.rkt}. For a
|
work only in a collection's @filepath{info.rkt}. For a
|
||||||
@tech{single-collection package}, the @filepath{info.rkt} file serves
|
@tech{single-collection package}, the @filepath{info.rkt} file serves
|
||||||
|
@ -707,6 +728,22 @@ The following @filepath{info.rkt} fields are used by the package manager:
|
||||||
|
|
||||||
@itemlist[
|
@itemlist[
|
||||||
|
|
||||||
|
@item{@racketidfont{collection} --- either @racket['multi] to
|
||||||
|
implement a @tech{multi-collection package} or a string or
|
||||||
|
@racket['same-as-pkg] to implement a @tech{single-collection
|
||||||
|
package}. If @racketidfont{collection} is defined as a string,
|
||||||
|
then the string is used as the name of the collection
|
||||||
|
implemented by the package. If @racketidfont{collection} is
|
||||||
|
defined as @racket['same-as-pkg], then the package name is used
|
||||||
|
as the package's collection name.
|
||||||
|
|
||||||
|
Beware that omitting @racketidfont{collection} or defining it
|
||||||
|
as @racket['same-as-pkg] means that a package's content
|
||||||
|
effectively changes with the package's name. A package's
|
||||||
|
content should normally be independent of the package's name,
|
||||||
|
and so defining @racketidfont{collection} to a string is
|
||||||
|
preferable for a @tech{single-collection package}.}
|
||||||
|
|
||||||
@item{@racketidfont{version} --- a @tech{version} string. The default
|
@item{@racketidfont{version} --- a @tech{version} string. The default
|
||||||
@tech{version} of a package is @racket["0.0"].}
|
@tech{version} of a package is @racket["0.0"].}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("scribble-lib"))
|
(define deps '("scribble-lib"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps
|
(define deps
|
||||||
'(("racket-win32-i386" #:platform "win32\\i386")
|
'(("racket-win32-i386" #:platform "win32\\i386")
|
||||||
("racket-win32-x86_64" #:platform "win32\\x86_64")
|
("racket-win32-x86_64" #:platform "win32\\x86_64")
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "racklog")
|
(define collection "racklog")
|
||||||
|
|
||||||
(define scribblings
|
(define scribblings
|
||||||
'(("racklog.scrbl" (multi-page) (tool))))
|
'(("racklog.scrbl" (multi-page) (tool))))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("readline-lib"
|
(define build-deps '("readline-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("readline-lib"
|
(define deps '("readline-lib"
|
||||||
"readline-doc"))
|
"readline-doc"))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "realm")
|
(define collection "realm")
|
||||||
|
|
||||||
(define name "Realm of Racket Source Code")
|
(define name "Realm of Racket Source Code")
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "redex")
|
(define collection "redex")
|
||||||
|
|
||||||
(define name "PLT Redex")
|
(define name "PLT Redex")
|
||||||
(define scribblings (list (list "redex.scrbl" (list 'multi-page) (list 'tool))))
|
(define scribblings (list (list "redex.scrbl" (list 'multi-page) (list 'tool))))
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "schemeunit")
|
(define collection "schemeunit")
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("scribble-lib"
|
(define build-deps '("scribble-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("at-exp-lib"
|
(define deps '("at-exp-lib"
|
||||||
"draw-lib"
|
"draw-lib"
|
||||||
"syntax-color-lib"))
|
"syntax-color-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("scribble-lib"
|
(define deps '("scribble-lib"
|
||||||
"scribble-doc"))
|
"scribble-doc"))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "sgl")
|
(define collection "sgl")
|
||||||
|
|
||||||
(define compile-omit-paths '("examples"))
|
(define compile-omit-paths '("examples"))
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "slatex")
|
(define collection "slatex")
|
||||||
|
|
||||||
(define scribblings '(("slatex-wrap.scrbl" () (tool-library))))
|
(define scribblings '(("slatex-wrap.scrbl" () (tool-library))))
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("slideshow-lib"
|
(define build-deps '("slideshow-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("slideshow-lib"))
|
(define deps '("slideshow-lib"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("gui-lib"))
|
(define deps '("gui-lib"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("slideshow-lib"
|
(define deps '("slideshow-lib"
|
||||||
"slideshow-exe"
|
"slideshow-exe"
|
||||||
"slideshow-doc"))
|
"slideshow-doc"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("draw-lib"))
|
(define deps '("draw-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("snip-lib"
|
(define deps '("snip-lib"
|
||||||
"gui-doc"))
|
"gui-doc"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("srfi-lib"
|
(define build-deps '("srfi-lib"
|
||||||
"racket-doc"
|
"racket-doc"
|
||||||
"r5rs-doc"
|
"r5rs-doc"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("r5rs-lib"
|
(define deps '("r5rs-lib"
|
||||||
"r6rs-lib"))
|
"r6rs-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("srfi-lib"
|
(define deps '("srfi-lib"
|
||||||
"srfi-doc"))
|
"srfi-doc"))
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
;;; Written by Eli Barzilay: Maze is Life! (eli@barzilay.org)
|
;;; Written by Eli Barzilay: Maze is Life! (eli@barzilay.org)
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "swindle")
|
(define collection "swindle")
|
||||||
|
|
||||||
(define mzscheme-launcher-names '("swindle"))
|
(define mzscheme-launcher-names '("swindle"))
|
||||||
(define mzscheme-launcher-flags '(("-li" "swindle")))
|
(define mzscheme-launcher-flags '(("-li" "swindle")))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("racket-doc"
|
(define build-deps '("racket-doc"
|
||||||
"syntax-color-lib"))
|
"syntax-color-lib"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("parser-tools-lib"))
|
(define deps '("parser-tools-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("syntax-color-lib"
|
(define deps '("syntax-color-lib"
|
||||||
"syntax-color-doc"))
|
"syntax-color-doc"))
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "trace")
|
(define collection "trace")
|
||||||
|
|
||||||
(define name "Calltrace")
|
(define name "Calltrace")
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("typed-racket-lib"
|
(define deps '("typed-racket-lib"
|
||||||
"gui-lib"))
|
"gui-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("typed-racket-lib"
|
(define build-deps '("typed-racket-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("unstable-list-lib"
|
(define deps '("unstable-list-lib"
|
||||||
"string-constants-lib"))
|
"string-constants-lib"))
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("typed-racket-lib"
|
(define deps '("typed-racket-lib"
|
||||||
"typed-racket-doc"))
|
"typed-racket-doc"))
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
(define single-collection "unstable")
|
(define collection "unstable")
|
||||||
|
|
||||||
(define scribblings
|
(define scribblings
|
||||||
'(("scribblings/unstable.scrbl" (multi-page) (experimental))))
|
'(("scribblings/unstable.scrbl" (multi-page) (experimental))))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("web-server-lib"
|
(define build-deps '("web-server-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("unstable-list-lib"
|
(define deps '("unstable-list-lib"
|
||||||
"parser-tools-lib"))
|
"parser-tools-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("web-server-lib"
|
(define deps '("web-server-lib"
|
||||||
"web-server-doc"))
|
"web-server-doc"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("snip-lib"))
|
(define deps '("snip-lib"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("wxme-lib"
|
(define deps '("wxme-lib"
|
||||||
"gui-doc"))
|
"gui-doc"))
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define build-deps '("xrepl-lib"
|
(define build-deps '("xrepl-lib"
|
||||||
"racket-doc"))
|
"racket-doc"))
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#lang setup/infotab
|
#lang setup/infotab
|
||||||
|
|
||||||
|
(define collection 'multi)
|
||||||
|
|
||||||
(define deps '("readline-lib"
|
(define deps '("readline-lib"
|
||||||
"scribble-lib"
|
"scribble-lib"
|
||||||
"macro-debugger-text-lib"))
|
"macro-debugger-text-lib"))
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user