Link the options and setup units so that your option-setting code is
initialized between them, e.g.:
The prefix used when printing status messages.
The default is "raco setup".
If on, prints message from make to stderr.
The default is #f.
If on, verbose make. The default is #f.
If on, verbose compiler. The default is #f.
If on, delete ".zo" and
".so"/".dll"/".dylib" files in the
specified collections. The default is #f.
If a
path is given, use a
".zo" compiler other than plain
compile, and build to
(build-path "compiled" (compile-mode)).
The default is
#f.
If on, compile ".zo". The default is #t.
If on, update "info-domain/compiled/cache.rkt" for each
collection path. The default is #t.
If on, make collection "info.rkt"-specified launchers. The default is #t.
If on, build documentation.
The default is #t.
If on, build the user-specific collection tree.
The default is #t.
If on, build the planet cache.
The default is #t.
If on, avoid building bytecode in the main installation tree when building
other bytecode (e.g., in a user-specific collection). The default is #f.
If on, call collection "info.rkt"-specified setup code.
The default is #t.
If on, call collection "info.rkt"-specified post-install code.
The default is #t.
If on, in the event of an error, prints a summary error and waits for
stdin input before terminating. The default is #f.
Determines the number of places to use for compiling bytecode
and for building the documentation.
The default is
(min (processor-count) 8).
If on, ignore version and already-installed errors when unpacking a
".plt" archive. The default is #f.
A list of collections to set up; the empty list means set-up all
collections if the archives list and specific-planet-dirs is
is also '(). The default is '().
A list of planet package version specs to set up; the empty list means to
set-up all planet collections if the archives list and specific-collections
is also '(). The default is '().
A list of
".plt" archives to unpack; any collections specified
by the archives are set-up in addition to the collections listed in
specific-collections. The default is
null.
If on, when archives has a non-empty list of packages, if any
documentation is built, then suitable documentation start pages, search pages,
and master index pages are re-built. The default is #t.
A thunk that returns the target directory for unpacking a relative
".plt" archive; when unpacking an archive, either this or
the procedure in
current-target-plt-directory-getter will
be called. The default is
current-directory.
A procedure that takes a preferred path, a path to the parent of the main
"collects" directory, and a list of path choices; it returns
a path for a "plt-relative" install; when unpacking an archive, either
this or the procedure in
current-target-directory-getter will
be called, and in the former case, this procedure may be called
multiple times. The default is
(lambda (preferred main-parent-dir choices) preferred).