2010-07-17 18:07:41 +02:00
|
|
|
/* sbt -- Simple Build Tool
|
|
|
|
|
* Copyright 2010 Mark Harrah
|
|
|
|
|
*/
|
|
|
|
|
package sbt
|
2010-10-06 14:24:13 +02:00
|
|
|
package compile
|
2010-07-17 18:07:41 +02:00
|
|
|
|
|
|
|
|
final case class Discovered(baseClasses: Set[String], annotations: Set[String], hasMain: Boolean, isModule: Boolean)
|
2010-07-28 05:01:45 +02:00
|
|
|
{
|
|
|
|
|
def isEmpty = baseClasses.isEmpty && annotations.isEmpty
|
|
|
|
|
}
|
2010-07-17 18:07:41 +02:00
|
|
|
object Discovered
|
|
|
|
|
{
|
|
|
|
|
def empty = new Discovered(Set.empty, Set.empty, false, false)
|
|
|
|
|
}
|