2011-03-08 23:50:19 +01:00
|
|
|
/* sbt -- Simple Build Tool
|
|
|
|
|
* Copyright 2009, 2010 Mark Harrah
|
|
|
|
|
*/
|
|
|
|
|
package sbt
|
|
|
|
|
|
2011-05-26 04:44:22 +02:00
|
|
|
final case class ClasspathOptions(bootLibrary: Boolean, compiler: Boolean, extra: Boolean, autoBoot: Boolean, filterLibrary: Boolean)
|
2011-03-08 23:50:19 +01:00
|
|
|
object ClasspathOptions
|
|
|
|
|
{
|
2011-05-26 04:44:22 +02:00
|
|
|
def manual = ClasspathOptions(false, false, false, true, false)
|
|
|
|
|
def boot = ClasspathOptions(true, false, false, true, true)
|
|
|
|
|
def repl = auto
|
|
|
|
|
def javac(compiler: Boolean) = new ClasspathOptions(false, compiler, false, false, false)
|
|
|
|
|
def auto = ClasspathOptions(true, true, true, true, true)
|
2011-03-08 23:50:19 +01:00
|
|
|
}
|