-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #210 from Leonidas-from-XIV/only-warn-dune-univers…
…e-if-no-solution Only warn about dune ports repo when a solution can't be found
- Loading branch information
Showing
6 changed files
with
77 additions
and
13 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
type diagnostics | ||
|
||
val calculate : | ||
build_only:bool -> | ||
allow_jbuilder:bool -> | ||
local_opam_files:(OpamTypes.version * OpamFile.OPAM.t) OpamPackage.Name.Map.t -> | ||
pin_depends:(OpamTypes.version * OpamFile.OPAM.t) OpamPackage.Name.Map.t -> | ||
?ocaml_version:string -> | ||
OpamStateTypes.unlocked OpamStateTypes.switch_state -> | ||
(Opam.Package_summary.t list, [> `Msg of string ]) result | ||
( Opam.Package_summary.t list, | ||
[> `Diagnostics of diagnostics | `Msg of string ] ) | ||
result | ||
(** Calculates a solution for the provided local packages and their opam files | ||
containing their regular and test dependencies using the provided opam switch | ||
state. Uses [Opam_0install]. | ||
If [build_only] then no test dependencies are taken into account. If [ocaml_version] | ||
is provided, the solution will contain that concrete version of ocaml. *) | ||
|
||
val diagnostics_message : diagnostics -> [> `Msg of string ] | ||
|
||
val not_buildable_with_dune : diagnostics -> OpamPackage.Name.t list |