Skip to content

Enclosing dune lang version#177

Merged
mbarbin merged 4 commits intomainfrom
enclosing-dune-lang-version
Feb 11, 2026
Merged

Enclosing dune lang version#177
mbarbin merged 4 commits intomainfrom
enclosing-dune-lang-version

Conversation

@mbarbin
Copy link
Copy Markdown
Owner

@mbarbin mbarbin commented Feb 11, 2026

  • Initiate code to save context from dune-project files
  • Access in particular the dune lang version for the enclosing dune project file during linting, and pass it to dune format-dune-file --dune-version _.

Fixes #168

Without this first line these files are invalid. This causes some issues with
follow-up changes I am working on, so I'm fixing this as prerequisite.
Access in particular the dune lang version for the enclosing dune project file
during linting, and pass it to [dune format-dune-file --dune-version _].
@mbarbin mbarbin force-pushed the enclosing-dune-lang-version branch from f8e0c5b to 9a26f29 Compare February 11, 2026 06:32
@mbarbin mbarbin merged commit 6163368 into main Feb 11, 2026
10 of 11 checks passed
@mbarbin mbarbin deleted the enclosing-dune-lang-version branch February 11, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix dune formatting to make sure the right version is picked

1 participant