Skip to content

Use opam with-dev-setup#2036

Open
sim642 wants to merge 3 commits into
masterfrom
dev-setup
Open

Use opam with-dev-setup#2036
sim642 wants to merge 3 commits into
masterfrom
dev-setup

Conversation

@sim642
Copy link
Copy Markdown
Member

@sim642 sim642 commented May 15, 2026

This is a cleaner alternative to #2031.

TODO

@sim642 sim642 added this to the v2.8.0 Clumsy Clurichaun milestone May 15, 2026
@sim642 sim642 self-assigned this May 15, 2026
Copilot AI review requested due to automatic review settings May 15, 2026 13:55
@sim642 sim642 added the setup Dependencies, CI, releasing label May 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Cleans up make dev by leveraging opam's with-dev-setup flag instead of manually installing ocaml-lsp-server and ocp-indent separately. Dev-setup dependencies are now declared in dune-project / goblint.opam, making the dev installation a single opam invocation.

Changes:

  • Add ocaml-lsp-server and ocp-indent as with-dev-setup dependencies in dune-project and goblint.opam.
  • Simplify make.sh dev target to a single opam install call using --with-dev-setup.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
make.sh Replace two-step dev install with a single opam install using --with-dev-setup.
goblint.opam Declare ocaml-lsp-server and ocp-indent under with-dev-setup.
dune-project Mirror the dev-setup dependency declarations with explanatory comments.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

sim642 added 2 commits May 15, 2026 17:22
opam lock seems to drop constraints if there are multiple reasons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

setup Dependencies, CI, releasing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants