(executables
  (names main)
  (libraries toplevel_expect_test js_of_ocaml-ppx stdlib)
  (link_flags (-linkall)))

(rule
  (targets ppx.mlt.corrected)
  (action  (run %{exe:main.bc} %{dep:ppx.mlt})))

(alias
   (name   runtest)
   (package js_of_ocaml-ppx)
   (action (diff ppx.mlt ppx.mlt.corrected)))
