I'm working on a ppx where the test cases are written in Reason. Right now I have to manually run these test cases through refmt and write .ml files, that I feed to the omp driver with --impl flag.
But I'm curious if it'd be possible to add some new flags to omp for this?
My current Dune rule:
(rule
(targets pp.result)
(deps test.ml)
(action (run ./main.exe --impl %{deps} -o %{targets})))
What would be ideal:
(rule
(targets pp.result)
(deps test.re)
(action (run ./main.exe --re-impl %{deps} -o %{targets})))