dds/dds-packaging.org
2024-06-24 13:23:40 +01:00

1.4 KiB

Packaging dds

Building and installing

Running the following:

raco pkg install

in the dds directory will build and install the dependencies and then link the directory as a package.

Building the Scribble documentation

To build the Scribble documentation, run the following:

raco setup -l dds

The dds package must already be installed.

Execute the following code block to open the documentation in the last visited browser window.

(shell-command "firefox doc/dds/index.html")

Racket Package catalog bug <2020-11-26 Thu>

raco pkg had a bug which caused it to fail with the following error:

Resolving "graph-lib" via https://download.racket-lang.org/releases/7.9/catalog/
.raco-wrapped pkg install: cannot find package on catalogs
package: graph-lib

The fix coming from here was to do the following:

raco pkg config --set catalogs https://download.racket-lang.org/releases/7.9/catalog/ ""

It looks like it make raco pkg redetect the proper URLs for Racket package catalogs.