mirror of https://github.com/sbt/sbt.git
Merge remote-tracking branch 'benjy/compilations' into 0.13
This commit is contained in:
commit
3c8d738515
|
|
@ -12,6 +12,7 @@ trait Compilations {
|
|||
object Compilations {
|
||||
val empty: Compilations = new MCompilations(Seq.empty)
|
||||
def make(s: Seq[Compilation]): Compilations = new MCompilations(s)
|
||||
def merge(s: Traversable[Compilations]): Compilations = make((s flatMap { _.allCompilations }).toSeq.distinct)
|
||||
}
|
||||
|
||||
private final class MCompilations(val allCompilations: Seq[Compilation]) extends Compilations {
|
||||
|
|
|
|||
Loading…
Reference in New Issue