This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -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;;
|
||||
Loading…
Add table
Add a link
Reference in a new issue