The source project of this merge request has been removed.
hadrian: Refactor file patterns for future Shake changes (fixes #17005)
Shake will be moving from its current implementation of ?== to one from System.FilePattern. Support for //
is being dropped, leaving only *
and **
as special forms. This commit converts the existing file patterns in Hadrian to the new format to prepare for the change in advance.
The conversion is as follows:
-
//a ==> **/a
-
a// ==> a/**
-
a//b ==> a/**/b