(library
 (name ppx_sexp_conv_test_sexp_grammar)
 (libraries base expect_test_helpers_core.expect_test_helpers_base
   sexp_grammar)
 (preprocess
  (pps ppx_sexp_conv ppx_expect ppx_here)))

(rule
 (targets regular_vs_polymorphic_variants.diff)
 (deps test_regular_variants.ml test_polymorphic_variants.ml)
 (mode promote)
 (action
  (bash
    "%{bin:patdiff-for-review} %{bin:patdiff} %{deps} > %{targets} || true")))

(alias
 (name DEFAULT)
 (deps regular_vs_polymorphic_variants.diff))
