Skip to content

Commit

Permalink
Readd warnings failing build in dev but exclude some unused warnings
Browse files Browse the repository at this point in the history
- The idea is to make development easier by allowing code to be built with unused warnings
- We're still restrictive on some warnings because dune won't output all warnings on every build
  • Loading branch information
7h3kk1d committed Oct 3, 2024
1 parent 35629e9 commit ad1c1b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dune-workspace
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
(lang dune 3.16)

; List of warning codes found at https://ocaml.org/manual/5.2/comp.html#s:comp-options
(env
(dev
(flags
(:standard -warn-error -A)))
(:standard -warn-error +A-26-27-32-33-34-35-38-39-58))) ; Disable some unused warnings.
(release
(flags
(:standard -warn-error +A-58))))

0 comments on commit ad1c1b5

Please sign in to comment.