Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlbuild rule with recursive action
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Romain Bardou <Romain.Bardou@l...>
Subject: Re: [Caml-list] ocamlbuild rule with recursive action
Daniel Bünzli a écrit :
> 
> Le 2 déc. 08 à 12:27, DooMeeR a écrit :
> 
>> Well, you can define a rule like this :
> 
> Thanks. I'll try something along these lines.
> 
> But that's kind of ugly. In the future could maybe ocamlbuild add 
> another case in the command type, something like
> 
> Rec of action -> (command * bool)
> 
> Or maybe there is another way ?
> 
> Daniel

Well, you can also simply execute the commands yourself, in a loop, 
using Command.execute or Command.execute_many.

-- 
Romain Bardou