For what it's worth, I'd also like to have this feature. I may experiment with using the Lua parser, but I too would like foreach to be able to walk subdirectories.
On Thursday, March 27, 2014 8:39:59 AM UTC-7, anonym anonym wrote: > > Hi > > I wanted to try tup out. But I have a issue that I couldn't find a > solution for. > > I have a line in my Tupfile like this: > > : foreach .*.cpp |> gcc %f -o %o |> %B.o > > The Problem is, that it's only valid for the directory where the Tupfile > is located. So it doesn't compile files in subdirectories. I really don't > want to copy my Tupfile into every subdirectory. > > Is there anything like this, that I can also search through subdirectories? > > : foreach **/*.cpp |> gcc %f -o %o |> %B.o > > Thanks for helping. > -- -- 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.
