Skip to content

Commit

Permalink
Fix lwt.opam.template for weird runtime error in opam-dune-lint
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Apr 15, 2024
1 parent a3197c3 commit cbe6040
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 4 deletions.
24 changes: 22 additions & 2 deletions lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,26 @@ depends: [
depopts: ["base-threads" "base-unix" "conf-libev"]
dev-repo: "git+https://github.com/ocsigen/lwt.git"
build: [
["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save" "--use-libev" "%{conf-libev:installed}%"]
["dune" "build" "-p" name "-j" jobs]
["dune" "subst"] {pinned}
[
"dune"
"exec"
"-p"
name
"src/unix/config/discover.exe"
"--"
"--save"
"--use-libev" {conf-libev:installed}
]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
24 changes: 22 additions & 2 deletions lwt.opam.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
build: [
["dune" "exec" "-p" name "src/unix/config/discover.exe" "--" "--save" "--use-libev" "%{conf-libev:installed}%"]
["dune" "build" "-p" name "-j" jobs]
["dune" "subst"] {pinned}
[
"dune"
"exec"
"-p"
name
"src/unix/config/discover.exe"
"--"
"--save"
"--use-libev" {conf-libev:installed}
]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]

0 comments on commit cbe6040

Please sign in to comment.