dune icon indicating copy to clipboard operation
dune copied to clipboard

Named targets

Open Kakadu opened this issue 6 years ago • 3 comments

It seems that we have an ability to have named dependecies like (deps (:first-dep foo.cppo.ml) <other files that foo.ml includes>). Could we also have named targets? Or at least a variable that expands to first target (like in Makefile)?

Kakadu avatar Mar 31 '20 07:03 Kakadu

Isn't that already supported?

ghost avatar Mar 31 '20 12:03 ghost

I asked at discord about it and rgrinberg said "We don't have this but there's no reason why we can't add it".

Kakadu avatar Mar 31 '20 13:03 Kakadu

Right, we might have talked about it but never implemented it. I checked and this is indeed not supported.

ghost avatar Mar 31 '20 15:03 ghost