forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add describe opam-files (ocaml#3577)
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
- Loading branch information
1 parent
9f93ceb
commit c38df3d
Showing
4 changed files
with
110 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
(** Generate opam files from dune-project metadata *) | ||
|
||
open Stdune | ||
|
||
(** Given an opam filename, returns the filename of the template file *) | ||
val template_file : Path.t -> Path.t | ||
|
||
(** Generate the contents of an opam file. [template] is the filename and | ||
contents of the template file. *) | ||
val generate : | ||
Dune_project.t -> Package.t -> template:(Path.t * string) option -> string | ||
|
||
val add_rules : Super_context.t -> dir:Path.Build.t -> unit |
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