fabriquer / fabrique

A build description language
Other
3 stars 1 forks source link

Warn when naming the same file multiple times #20

Open trombonehero opened 9 years ago

trombonehero commented 9 years ago

If a fabfile (and its imports) contains:

foo = file('source.c');

# ... some other stuff

bar = file('source.c');

there is a risk that someone will rename source.c in only one place, making the build inconsistent. We should warn when this happens (and people should pass the reference to foo around instead).