Skip to content

Commit

Permalink
[build] Move to dune language 2.0
Browse files Browse the repository at this point in the history
This provides better features for testing.
  • Loading branch information
ejgallego committed May 27, 2020
1 parent a821599 commit 79c49c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 1.11)
(lang dune 2.0)
(name lambdapi)

(using menhir 1.0)
4 changes: 3 additions & 1 deletion lambdapi.opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ doc: "https://deducteam.github.io/lambdapi/"

depends: [
"ocaml" { >= "4.05.0" }
"dune" { >= "1.3.0" }
"dune" { >= "2.0.1" }
"menhir"
"bindlib" { >= "5.0.1" }
"earley" { = "2.0.0" }
Expand All @@ -30,6 +30,8 @@ depends: [
"yojson" { >= "1.6.0" }
"cmdliner" { >= "1.0.3" }
"stdlib-shims"
# tests
"ppx_inline_test" { with-test }
]

post-messages: [
Expand Down
4 changes: 3 additions & 1 deletion src/core/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
(public_name lambdapi.core)
(synopsis "LambdaPi interactive theorem prover [core]")
(modules :standard)
(c_names stubs)
(foreign_stubs
(language c)
(names stubs))
(preprocess (per_module ((action (run pa_ocaml %{input-file})) parser)))
(libraries unix stdlib-shims timed bindlib earley.core why3))

Expand Down

0 comments on commit 79c49c0

Please sign in to comment.