Hi,

A few weeks ago I posted a pull request 
(https://github.com/gittup/tup/pull/245), but for some reason I forgot to 
email this list.. My bad..

As you know, there is a feature for Lua configuration to have a default 
description for all directory beneath. The patch I wrote adds a symmetrical 
behaviour for ordinary Tupfiles by adding support for a Tupdefault file, 
which is looked for in exactly the same way - in fact in parallell with - 
Tupdefault.lua-files.

The general algorithm is

   1. Look for Tupfile
   2. Look for Tupfile.lua
   3. Look for Tupdefault
   4. Look for Tupdefault.lua
   5. Repeat from 3. in parent directory until the configuration root.
   

Note that Tupdefault takes precedence over Tupdefault.lua, just as Tupfile 
takes precedence over Tupfile.lua.

I wasn't 100 % sure on test naming, feel free to correct me.

Comments? Thoughts?

Best Regards,
Jonatan Olofsson

-- 
-- 
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