From 55560e58ca4c5f3ed881633e7b20dd2d5d16327b Mon Sep 17 00:00:00 2001 From: Eduard Nicodei Date: Thu, 18 Jul 2024 00:29:03 +0100 Subject: [PATCH] update transcripts-manual/gen-racket-libs.output.md --- .../gen-racket-libs.output.md | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/unison-src/transcripts-manual/gen-racket-libs.output.md b/unison-src/transcripts-manual/gen-racket-libs.output.md index 1e003ab48..178d4b6f4 100644 --- a/unison-src/transcripts-manual/gen-racket-libs.output.md +++ b/unison-src/transcripts-manual/gen-racket-libs.output.md @@ -1,22 +1,21 @@ - When we start out, `./scheme-libs/racket` contains a bunch of library files that we'll need. They define the Unison builtins for Racket. Next, we'll download the jit project and generate a few Racket files from it. -```ucm +``` ucm jit-setup/main> lib.install @unison/internal/releases/0.0.18 - Downloaded 14917 entities. + Downloaded 14949 entities. I installed @unison/internal/releases/0.0.18 as unison_internal_0_0_18. ``` -```unison +``` unison go = generateSchemeBoot "scheme-libs/racket" ``` -```ucm +``` ucm Loading changes detected in scratch.u. @@ -29,7 +28,7 @@ go = generateSchemeBoot "scheme-libs/racket" go : '{IO, Exception} () ``` -```ucm +``` ucm jit-setup/main> run go () @@ -42,16 +41,23 @@ and @unison/internal version. To set up racket to use these files, we need to create a package with them. This is accomplished by running. - raco pkg install -t dir unison +``` +raco pkg install -t dir unison +``` -in the directory where the `unison directory is located. Then the +in the directory where the `unison` directory is located. Then the runtime executable can be built with - raco exe scheme-libs/racket/unison-runtime.rkt +``` +raco exe scheme-libs/racket/unison-runtime.rkt +``` and a distributable directory can be produced with: - raco distribute scheme-libs/racket/unison-runtime +``` +raco distribute scheme-libs/racket/unison-runtime +``` At that point, should contain the executable and all dependencies necessary to run it. +