On 11/03/2014 09:11 PM, [email protected] wrote:
I understand that Tupfiles are supposed to be independent. That is you can't guarantee the order in which they are read, and hence the order that things are added to the database.
There are two steps. Tup first parses the files and generates rules - this step can be done in any order (or partially, for instance if only one of many Tupfiles have been modified). The rules are stored in the .tup/ database file. Then Tup runs the rules, in order, based on a dependency graph.

During parsing the filesystem is not examined. Rule dependencies are determined based on the location of a file (either an input or an output) in the imaginary future filesystem.

If you're only modifying source files, after the initial parse Tup won't parse the Tupfiles again - it just runs the rules from the database.

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