-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use with-dev-setup to manage opam test deps (#10744)
The goal is to simplify setting up the test dependencies. We use `{with-dev-setup}` in `dune.opam`. By default, these dependencies are not installed, but passing `--with-dev-setup` will install them. Because the test dependencies are now expressed in an opam file, this is more expressive, and it makes it possible to use opam filters to install different dependencies on different configurations for example (#10712 is an example). `make dev-deps` continues working as before, but it can now be expressed as an opam command. `make dev-switch` is now an idempotent way to keep the switch in sync (which should cover #6939 as it was reported). Fixes #6939 Signed-off-by: Etienne Millon <me@emillon.org>
- Loading branch information
Showing
4 changed files
with
48 additions
and
29 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
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
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
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