dirFor method
Scenario directory of entry: the shared contractDir for the
single-library shape, one subdirectory per solution otherwise.
Implementation
String dirFor(LibraryEntry entry) => libraries.isEmpty
? contractDir
: '$contractDir/${entry.name}';