Skip to content

Commit

Permalink
Merge pull request #134 from Dicebot/fix-13178-tango-warning
Browse files Browse the repository at this point in the history
Fix 13178 : regression for tango library inclusion
  • Loading branch information
MartinNowak committed Jul 28, 2014
1 parent 0f341ba commit 2429c5e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rdmd.d
Expand Up @@ -342,6 +342,16 @@ bool inALibrary(string source, string object)
if (source.startsWith(exclusion~'.'))
return true;

// https://issues.dlang.org/show_bug.cgi?id=13178
// print a warning about `tango` removal for one release cycle
if (source.startsWith("tango."))
{
stderr.writeln(
"Warning: 'tango' package is no longer automatically excluded from compilation.\n" ~
"Warning: modify your build script to mention --exclude=tango to keep the old behaviour"
);
}

return false;

// another crude heuristic: if a module's path is absolute, it's
Expand Down

0 comments on commit 2429c5e

Please sign in to comment.