(library (name fieldslib_test) (libraries fieldslib)
 (preprocess (pps ppx_fields_conv ppx_inline_test)))

(rule (targets example_from_doc.ml) (deps ../README.md gen_test_from_doc.sh)
 (action (bash "./gen_test_from_doc.sh ../README.md > %{targets}")))