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 persist(state: State): Task[Unit]

    Persists every analysis file (the state of the incremental compiler) on disk in parallel.

    Persists every analysis file (the state of the incremental compiler) on disk in parallel.

    state

    The current state of Bloop

    returns

    The task that will persist all the results in parallel.

  5. def reasonOfInvalidPath(output: Path, extension: String): Option[String]
  6. def reasonOfInvalidPath(output: Path): Option[String]
  7. def runJVM(state: State, project: Project, cwd: AbsolutePath, fqn: String, args: Array[String]): 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.

  8. 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.

  9. def test(state: State, project: Project, cwd: AbsolutePath, includeDependencies: Boolean, frameworkSpecificRawArgs: List[String], testFilter: (String) ⇒ Boolean, testEventHandler: TestSuiteEventHandler): Task[State]

    Run the tests for project and its dependencies (optional).

    Run the tests for project and its dependencies (optional).

    state

    The current state of Bloop.

    project

    The project for which to run the tests.

    cwd

    The directory in which to start the forked JVM.

    includeDependencies

    Run test in the dependencies of project.

    testFilter

    A function from a fully qualified class name to a Boolean, indicating whether a test must be included.

    returns

    The new state of Bloop.