mirror of https://github.com/sbt/sbt.git
20 lines
769 B
Scala
20 lines
769 B
Scala
/* sbt -- Simple Build Tool
|
|
* Copyright 2010 Mark Harrah
|
|
*/
|
|
package sbt
|
|
package build
|
|
|
|
import java.io.File
|
|
|
|
sealed trait LoadCommand
|
|
final case class BinaryLoad(classpath: Seq[File], module: Boolean, name: String) extends LoadCommand
|
|
final case class SourceLoad(classpath: Seq[File], sourcepath: Seq[File], output: Option[File], module: Boolean, auto: Auto.Value, name: String) extends LoadCommand
|
|
final case class ProjectLoad(base: File, auto: Auto.Value, name: String) extends LoadCommand
|
|
|
|
object Auto extends Enumeration
|
|
{
|
|
val Subclass, Annotation, Explicit = Value
|
|
}
|
|
|
|
final case class CompileCommand(classpath: Seq[File], sources: Seq[File], output: Option[File], options: Seq[String])
|
|
final case class DiscoverCommand(module: Boolean, discovery: inc.Discovery) |