Add tutorial: Managing Dependencies with Dune (dune pkg)#3581
Open
cuihtlauac wants to merge 2 commits into
Open
Add tutorial: Managing Dependencies with Dune (dune pkg)#3581cuihtlauac wants to merge 2 commits into
cuihtlauac wants to merge 2 commits into
Conversation
New tutorial covering dune's built-in package management (dune pkg): - Lock directory workflow: dune pkg lock, version control, updating - Building with locked dependencies (single dune build command) - Adding/removing dependencies - Using dune pkg alongside opam switches - Why dune pkg is ideal for LLM coding agents - Comparison table: dune pkg vs opam workflows - Troubleshooting common issues Also adds "dune-pkg" as recommended_next_tutorials in the opam-path tutorial. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- MD014: Remove `$ ` prefix from shell code blocks without output - MD036: Convert bold pseudo-headings to ### headings in Troubleshooting - MD040: Add `dune` language tag to bare code block Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
data/tutorials/platform/0_10_dune_pkg.mdcovering Dune's built-in package managementdune pkg lock, lock directory, building, updating, adding/removing depsdune build"dune-pkg"to opam-path'srecommended_next_tutorialsIndependent of #3580 (the opam-path rewrite). Can be merged in any order — each branch works against current
main.Test plan
make buildsucceeds (tutorial frontmatter parsing, cross-reference validation)/docs/dune-pkg/docs/managing-dependenciesand/docs/opam-pathwork🤖 Generated with Claude Code