diff --git a/dune-project b/dune-project index 29d10e8..a7771f8 100644 --- a/dune-project +++ b/dune-project @@ -63,6 +63,7 @@ (< v0.17))) (ppx_js_style (and + :dev (>= v0.16) (< v0.17))) (ppx_let diff --git a/loc.opam b/loc.opam index 4d69033..7e83a78 100644 --- a/loc.opam +++ b/loc.opam @@ -20,7 +20,7 @@ depends: [ "ppx_fields_conv" {>= "v0.16" & < "v0.17"} "ppx_hash" {>= "v0.16" & < "v0.17"} "ppx_here" {>= "v0.16" & < "v0.17"} - "ppx_js_style" {>= "v0.16" & < "v0.17"} + "ppx_js_style" {dev & >= "v0.16" & < "v0.17"} "ppx_let" {>= "v0.16" & < "v0.17"} "ppx_sexp_conv" {>= "v0.16" & < "v0.17"} "ppx_sexp_value" {>= "v0.16" & < "v0.17"} diff --git a/src/dune b/src/dune index c252c28..9899ddc 100644 --- a/src/dune +++ b/src/dune @@ -3,6 +3,8 @@ (public_name loc) (instrumentation (backend bisect_ppx)) + (lint + (pps ppx_js_style -check-doc-comments)) (wrapped false) (flags :standard -w +a-4-40-41-42-44-45-48-66 -warn-error +a -open Base) (libraries base fpath stdune) @@ -15,6 +17,4 @@ ppx_here ppx_let ppx_sexp_conv - ppx_sexp_value - ppx_js_style - -check-doc-comments))) + ppx_sexp_value))) diff --git a/test/dune b/test/dune index 45911f8..ecf7995 100644 --- a/test/dune +++ b/test/dune @@ -5,6 +5,8 @@ (libraries loc) (instrumentation (backend bisect_ppx)) + (lint + (pps ppx_js_style -check-doc-comments)) (preprocess (pps ppx_compare @@ -14,6 +16,4 @@ ppx_here ppx_let ppx_sexp_conv - ppx_sexp_value - ppx_js_style - -check-doc-comments))) + ppx_sexp_value)))