Skip to content

Commit

Permalink
Merge pull request #33 from andreas/patch-1
Browse files Browse the repository at this point in the history
Add note about ppx_deriving and dune in README
  • Loading branch information
ejgallego authored Mar 15, 2019
2 parents 0f89769 + 66d723b commit 8bef279
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ Usage

In order to use _import_, require the package `ppx_import`.

#### Dune and `ppx_deriving`

When using `ppx_import` together with [`ppx_deriving`](https://github.com/ocaml-ppx/ppx_deriving) and Dune, you should use [`staged_pps`](https://dune.readthedocs.io/en/latest/dune-files.html#preprocessing-specification) for the preprocessing specification.

Example:

```
(library
(name foo)
(preprocess (staged_pps ppx_import ppx_deriving.show))
```

Syntax
------

Expand Down

0 comments on commit 8bef279

Please sign in to comment.