Skip to content

Commit

Permalink
Add dune-relase delegate-info version
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed Dec 16, 2024
1 parent 80ce7b5 commit 9f879ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/delegate_info.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ let run var =
Pkg.distrib_archive_path pkg >>| fun distrib_file ->
Format.printf "%a\n" Fpath.pp distrib_file
| "docdir" -> Ok (Format.printf "%a\n" Fpath.pp Pkg.doc_dir)
| "version" ->
Pkg.version pkg >>| fun v -> Format.printf "%a\n%!" Version.pp v
| "publication-message" ->
Pkg.publish_msg pkg >>| fun msg -> Format.printf "%s\n" msg
| _ -> Rresult.R.error_msgf "Unknown variable %S" var
Expand Down

0 comments on commit 9f879ab

Please sign in to comment.