Discovered classes are now sorted - fixing #1180

Ok, I can refactor that.
22 paź 2014 15:27 "Josh Suereth" <notifications@github.com> napisał(a):

> In main/src/main/scala/sbt/Defaults.scala:
>
> > @@ -739,7 +739,7 @@ object Defaults extends BuildCommon {
> >    def mainRunMainTask = runMain <<= runMainTask(fullClasspath in Runtime, runner in run)
> >
> >    def discoverMainClasses(analysis: inc.Analysis): Seq[String] =
> > -    Discovery.applications(Tests.allDefs(analysis)) collect { case (definition, discovered) if (discovered.hasMain) => definition.name }
> > +    Discovery.applications(Tests.allDefs(analysis)) collect { case (definition, discovered) if discovered.hasMain => definition.name } sorted
>
> we try to (now) avoid postfix notation.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/sbt/sbt/pull/1687/files#r19212790>.
>