Skip to content

Commit

Permalink
uses explicit install field to install packages (#18)
Browse files Browse the repository at this point in the history
With  `dune -p piqi,piqirun @install` dune generates two proper
install packages `piqi.install` and `piqirun.install`. However, opam
will only use the `piqi.install` file and ignore the latter, so the
`piqirun` library is not installed.
  • Loading branch information
ivg authored Aug 3, 2022
1 parent afa0df5 commit 44d986b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ homepage: "https://github.com/alavrik/piqi-ocaml"
bug-reports: "https://github.com/alavrik/piqi-ocaml/issues"
depends: [
"ocaml" {>= "4.02.0"}
"ocamlfind" {build}
"dune" {>= "2.0.0"}
"piqilib"
"stdlib-shims"
"num" {with-test}
Expand All @@ -24,6 +24,10 @@ build: [
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
"@doc" {with-doc}
]
]

install: [
["dune" "install"]
]

0 comments on commit 44d986b

Please sign in to comment.