Commit 1ed1dd31 authored by POTTIER Francois's avatar POTTIER Francois
Browse files

src/dune: make OCaml warnings non-fatal in release builds.

menhir.opam: add --profile=release when building.
parent 932a8df7
......@@ -9,7 +9,7 @@ homepage: "http://gitlab.inria.fr/fpottier/menhir"
dev-repo: "git+https://gitlab.inria.fr/fpottier/menhir.git"
bug-reports: "menhir@inria.fr"
build: [
["dune" "build" "@install" "-j" jobs]
["dune" "build" "@install" "-j" jobs "--profile=release"]
]
install: [
["dune" "install" "-j" jobs]
......
;; Compilation flags for Menhir.
;; Warnings are enabled (and fatal) during development,
;; but are disabled in releases.
(env
(_ (flags
(dev (flags
:standard
-safe-string
-g
-w @1..66-4-9-41-44-60
))
(release (flags
:standard
-safe-string
-g
))
)
;; The following parsers are built by ocamlyacc.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment