According to the tup manual:

Wildcarding is supported within a directory by using the SQLite glob
function... Globbing does not match directories, so "src/*.c" will work,
but "*/*.c" will not.

So recursive wildcarding is definitely out. I'm not an expert on this, but
I believe the tup treats directories differently than files, and this makes
rules that depend on directories function differently (I'm sure someone can
correct me on this). I don't this is inherently out of the realm of
possibility, but I think it would take some effort / revision of the tup
dependency model.

Erik

On Mon, May 8, 2017 at 2:53 PM Ryan Gonzalez <[email protected]> wrote:

> Hello, fellow tuppece! (HAHAHAHAHA nvm)
>
> I'm trying to write a tool that lets me build Dart code using Tup, but
> I've come across a small problem: is it possible to use a recursive
> glob inside either a foreach or a Lua script?
>
> e.g. something like this:
>
>
> : foreach **.dart |> !dart2js |> %B.js
>
> --
> Ryan (ライアン)
> Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else
> http://refi64.com/
>
> --
> --
> 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