object Tasks
- Alphabetic
- By Inheritance
- Tasks
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
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.
-
def
console(state: State, project: Project, noRoot: Boolean): Task[State]
Starts a Scala REPL with the dependencies of
project
on the classpath, includingproject
ifnoRoot
is false, excluding it otherwise.Starts a Scala REPL with the dependencies of
project
on the classpath, includingproject
ifnoRoot
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.
-
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.
-
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.
- def reasonOfInvalidPath(output: Path, extension: String): Option[String]
- def reasonOfInvalidPath(output: Path): Option[String]
-
def
runJVM(state: State, project: Project, cwd: AbsolutePath, fqn: String, args: Array[String]): Task[State]
Runs the fully qualified class
className
inproject
.Runs the fully qualified class
className
inproject
.- 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.
-
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 JavaScriptproject
.Runs the fully qualified class
className
in a Native or JavaScriptproject
.- 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.
-
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.