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

How to quote included content in dune file?

$
0
0

I have the following line inside a dune library stanza:

(flags :standard -ccopt (:include flags.txt))

flags.txt is generated by running a shell command, but it’s not in a sexp format.

I would like the inserted content to appear inside quote marks, so that the resulting dune file is valid. Is there a way to do that within dune, without writing a sexp-generating script?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles