This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,18 @@
$ cat >dune-project <<EOF
> (lang dune 3.3)
> EOF
$ cat >dune <<EOF
> (library
> (preprocess (action (run %{bin:dunepp} %{input-file})))
> (name foo))
> EOF
$ cat >foo.ml <<EOF
> let foo = _STRING_
> EOF
$ dune ocaml top-module foo.ml | sed 's/"[^"]*dunepp"/$dunepp/g'
#directory "$TESTCASE_ROOT/_build/default/.topmod/foo.ml";;
#load "$TESTCASE_ROOT/_build/default/.topmod/foo.ml/foo.cmo";;
#pp $dunepp;;