My aggregated monorepo of OCaml code, automaintained
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

deploy.sh: add --local-repo flag to day10 example

Show how to use --local-repo to pin js_top_worker from a local
checkout instead of the remote git repo, which is the easiest way
to test local changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+6
+6
odoc-interactive-extension/deploy.sh
··· 55 55 # dune exec -- day10 batch \ 56 56 # --cache-dir /var/cache/day10 \ 57 57 # --opam-repository /var/cache/opam-repository \ 58 + # --local-repo /path/to/js_top_worker \ 58 59 # --with-jtw \ 59 60 # --jtw-output /var/www/jtw \ 60 61 # --html-output /var/www/docs \ 61 62 # --with-doc \ 62 63 # @packages.json 64 + # 65 + # --local-repo pins js_top_worker packages from a local checkout instead 66 + # of the default remote git repo. day10 discovers *.opam files in that 67 + # directory, bind-mounts it into the container, and uses it for pinning. 68 + # This is the easiest way to test local changes to js_top_worker. 63 69 # 64 70 # day10 handles switch creation, dependency solving, js_top_worker 65 71 # installation, and per-package universe assembly automatically.