Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 536

Adding both action and PPS in preprocess - Dune file

$
0
0

Hey everyone,

I am new to OCaml and wanted to know how can i add two preprocess in my dune file. Here’s the dune file and my use case is to add (pps ppx_deriving_yojson) in preprocess -

(library
 (name ml)
 (wrapped false)
 (preprocess
  (action
   (run %{bin:cppo} %{env:CPPO_FLAGS=} %{input-file})))
 (flags
  (:standard -w +a-4-42-40-41-44-45-9-48-67-70))
 (libraries ext js_parser))

(ocamllex lexer)

7 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 536

Trending Articles