Skip to content

Commit

Permalink
add lwt_retry.opam.template to fix dune subst invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael-proust committed Nov 19, 2024
1 parent 7c514d7 commit 37dd6ad
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lwt_retry.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt"
bug-reports: "https://github.com/ocsigen/lwt/issues"
depends: [
"dune" {>= "2.0"}
"dune" {>= "2.7"}
"ocaml" {>= "4.08"}
"lwt" {>= "5.3.0"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocsigen/lwt.git"
build: [
["dune" "subst"] {pinned}
["dune" "subst"] {dev}
[
"dune"
"build"
Expand All @@ -28,4 +30,4 @@ build: [
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocsigen/lwt.git"

15 changes: 15 additions & 0 deletions lwt_retry.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]

0 comments on commit 37dd6ad

Please sign in to comment.