On Sun, Jun 7, 2015 at 10:33 PM, Louis Gesbert <[email protected]>
wrote:

    [ "sh" "-c" "cp _build/* %{foo:lib}%" ]
>

This is good enough for me.


I'm afraid you're stuck with 'foo:name' at the moment, but I agree it's not
> ideal.
>
> Ideas to improve on these welcome!
>

We basically need a "this" variable, which is what %{name}% is. Maybe
interpolating nested variables would work, so we could really do
%{%{name}%:lib}%.
_______________________________________________
opam-devel mailing list
[email protected]
http://lists.ocaml.org/listinfo/opam-devel

Reply via email to