Skip to content

Commit

Permalink
Remove dependency on ppxlib
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <[email protected]>
  • Loading branch information
emillon committed Jul 10, 2023
1 parent 69cf577 commit cf710dc
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions test/blackbox-tests/test-cases/github8158.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@ directory.
$ cat > ppx/dune << EOF
> (library
> (name ppx_noop)
> (libraries ppxlib)
> (kind ppx_rewriter))
> (kind ppx_rewriter)
> (ppx.driver (main Ppx_noop.main)))
> EOF
$ cat > ppx/ppx_noop.ml << EOF
> let main () =
> match Sys.argv with
> | [| _; "--as-ppx"; input_file; output_file |] ->
> Filename.quote_command "cp" [input_file; output_file]
> |> Sys.command
> |> exit
> | _ -> assert false
> EOF
$ touch ppx/ppx_noop.ml

$ mkdir bin
$ cat > bin/dune << EOF
Expand Down

0 comments on commit cf710dc

Please sign in to comment.