-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/tutorial: make custom modules registry tutorial runnable
cue mod registry allows us to use cmd/cue to run an in-memory OCI-compatible server. This is sufficient for the tutorial on custom module registries. We can therefore make the entire tutorial runnable by removing the special #norun directives. This process caught a couple of bugs which are fixed as part of this change. It also allows a couple of file content assertions to be replaced with calls to cat which render the actual contents of the files. Because the rendered result is also committed to VCS, we therefore capture the intended result. Preview-Path: /docs/tutorial/working-with-a-custom-module-registry/ Signed-off-by: Paul Jolly <[email protected]> Change-Id: I82b4c21426d6bf6fc45e0105ebbba0a0dffb1d56 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1176732 Reviewed-by: Roger Peppe <[email protected]> Reviewed-by: Jonathan Matthews <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
3 changed files
with
280 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.