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

Creating generic rules in dune

$
0
0

I have a dune file where I have several rules of the form

(rule
  (target lambda.ml)
  (deps lambda.sk)
  (action (run necro-ml -o %{target} %{deps})))

where only the name lambda changes. Is it possible to write a generic %.sk → %.ml rule?

I looked at the docs and could not find it. And please let me know if this forum is not the right place to ask this.

11 posts - 5 participants

Read full topic


Viewing all articles
Browse latest Browse all 521

Trending Articles