Skip to content

Commit

Permalink
bump to dune 3.13
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Caglayan <alizter@gmail.com>

<!-- ps-id: d0c60b0f-4aee-46ac-8e2d-3e5f52288b3c -->
  • Loading branch information
Alizter committed Apr 30, 2024
1 parent 67d7f92 commit 83f4cd5
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 11 deletions.
2 changes: 0 additions & 2 deletions contrib/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
(coq.theory
(name HoTT.Contrib)
(package coq-hott)
(flags -noinit -indices-matter -color on)
(coqdoc_flags :standard --interpolate --utf8 --no-externals --parse-comments)
(theories HoTT))
2 changes: 1 addition & 1 deletion coq-hott.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license: "BSD-2-Clause"
homepage: "http://homotopytypetheory.org/"
bug-reports: "https://github.com/HoTT/HoTT/issues"
depends: [
"dune" {>= "3.8"}
"dune" {>= "3.13"}
"coq" {>= "8.18.0"}
"odoc" {with-doc}
]
Expand Down
22 changes: 22 additions & 0 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,28 @@
(action
(run etc/emacs/run-etags.sh %{vfile})))

; Common flags for Coq

(env
(dev
(coq
(coqdoc_flags
:standard
--interpolate
--utf8
--no-externals
--parse-comments)
(flags -noinit -indices-matter -color on)))
(_
(coq
(coqdoc_flags
:standard
--interpolate
--utf8
--no-externals
--parse-comments)
(flags -noinit -indices-matter))))

; Bench

; The following rule allows you to bench the running time of a file using
Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 3.8)
(lang dune 3.13)

(using coq 0.8)

Expand Down
4 changes: 1 addition & 3 deletions test/dune
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
(coq.theory
(name HoTT.Tests)
(theories HoTT)
(flags -noinit -indices-matter -color on)
(coqdoc_flags :standard --interpolate --utf8 --no-externals --parse-comments))
(theories HoTT))

(include_subdirs qualified)

Expand Down
5 changes: 1 addition & 4 deletions theories/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@

(coq.theory
(name HoTT)
(package coq-hott)
(modules :standard)
(flags -noinit -indices-matter -color on)
(coqdoc_flags :standard --interpolate --utf8 --no-externals --parse-comments))
(package coq-hott))

0 comments on commit 83f4cd5

Please sign in to comment.