Packages

object Tasks

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tasks
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def clean(state: State, targets: List[Project], includeDeps: Boolean): Task[State]

    Cleans the previous results of the projects specified in targets.

    Cleans the previous results of the projects specified in targets.

    state

    The current state of Bloop.

    targets

    The projects to clean.

    includeDeps

    Do not run clean for dependencies.

    returns

    The new state of Bloop after cleaning.

  2. def console(state: State, project: Project, noRoot: Boolean): Task[State]

    Starts a Scala REPL with the dependencies of project on the classpath, including project if noRoot is false, excluding it otherwise.

    Starts a Scala REPL with the dependencies of project on the classpath, including project if noRoot is false, excluding it otherwise.

    state

    The current state of Bloop.

    project

    The project for which to start the REPL.

    noRoot

    If false, include project on the classpath. Do not include it otherwise.

    returns

    The new state of Bloop.

  3. def findMainClasses(state: State, project: Project): List[String]

    Finds the main classes in project.

    Finds the main classes in project.

    state

    The current state of Bloop.

    project

    The project for which to find the main classes.

    returns

    An array containing all the main classes that were detected.

  4. def reasonOfInvalidPath(output: Path, extension: String): Option[String]
  5. def reasonOfInvalidPath(output: Path): Option[String]
  6. def runJVM(state: State, project: Project, javaEnv: JavaEnv, cwd: AbsolutePath, fqn: String, args: Array[String], skipJargs: Boolean, mode: RunMode): Task[State]

    Runs the fully qualified class className in project.

    Runs the fully qualified class className in project.

    state

    The current state of Bloop.

    project

    The project to run.

    cwd

    The directory in which to start the forked JVM.

    fqn

    The fully qualified name of the main class.

    args

    The arguments to pass to the main class.

    skipJargs

    Skip the interpretation of -J options in args.

    mode

    The run mode.

  7. def runNativeOrJs(state: State, project: Project, cwd: AbsolutePath, fqn: String, args: Array[String]): Task[State]

    Runs the fully qualified class className in a Native or JavaScript project.

    Runs the fully qualified class className in a Native or JavaScript project.

    state

    The current state of Bloop.

    project

    The project to run.

    cwd

    The directory in which to start the forked run process.

    fqn

    The fully qualified name of the main class.

    args

    The arguments to pass to the main class.

  8. def test(state: State, projectsToTest: List[Project], userTestOptions: List[String], testFilter: (String) ⇒ Boolean, testEventHandler: TestSuiteEventHandler, failIfNoTestFrameworks: Boolean, runInParallel: Boolean = false, mode: RunMode): Task[State]

    Run the tests for all projects in projectsToTest.

    Run the tests for all projects in projectsToTest.

    The projects have been already compiled.

    state

    The current state of Bloop.

    projectsToTest

    The projects we want to run tests for.

    testFilter

    A function that filters fully qualified test class names.

    returns

    A new state after testing.