I don't entirely understand your linking example, but this seems like a
good use of the lua api.

For you issue with clean, if you ever want to rerun a tup command, you just
need to touch the relevant files and the new mod times will cause tup to
rerun and regenerate. If you're using an advanced shell, it could be as
easy as `touch **/* && tup`.

As for wildcard support, tup supports arbitrary wildcards on files (not
directories), you just can't use %g to capture both. If you want something
like that, use lua. In addition, wildcards are independent of foreach,
they're just useful together.

On Sat, Dec 10, 2016 at 4:41 PM Freddie Chopin <[email protected]>
wrote:

> On Sat, 2016-12-10 at 03:23 -0800, Mark K wrote:
> > Not being able to write output files outside of the current
> > directory. This is more than just an annoyance as it prevents me
> > from, say, doing a wget of a zip file on the web, unzipping it in a
> > directory and then building the source in that directory. It might
> > sound far-fetched but I really don't think it is.
>
> You can write output files outside of the directory of current Tupfile.
> Some time in the past it was not possible, but this was changed a long
> time ago.
>
> Regards,
> FCh
>
> --
> --
> tup-users mailing list
> email: [email protected]
> unsubscribe: [email protected]
> options: http://groups.google.com/group/tup-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "tup-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to