final class ScalaJsToolchain extends AnyRef
Defines a set of tasks that the Scala.js toolchain can execute.
The tasks must be supported by different versions (e.g. 0.6.x vs 1.x)
and they are invoked reflectively based on the bridges defined by
bloop's jsBridge
modules.
- Alphabetic
- By Inheritance
- ScalaJsToolchain
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def discoverTestFrameworks(project: Project, frameworkNames: List[List[String]], linkedFile: AbsolutePath, logger: Logger, config: JsConfig, env: Map[String, String]): Js
Discovers Scala.js compatible test frameworks.
Discovers Scala.js compatible test frameworks.
- project
The project in which to discover test frameworks
- frameworkNames
The names of the potential frameworks in the project
- linkedFile
Path to test project's linked JavaScript file
- logger
An instance of a logger.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def link(config: JsConfig, project: Project, fullClasspath: Array[Path], runMain: Boolean, mainClass: Option[String], targetDir: AbsolutePath, scheduler: Scheduler, logger: Logger): Task[Try[Unit]]
Link (compile down to JavaScript) using Scala.js' toolchain.
Link (compile down to JavaScript) using Scala.js' toolchain.
If the main class is not passed, the link implementation will assume that this is a test project and will therefore set up the test module initializers instead of the main module initializers.
- config
The configuration for Scala.js
- project
The project to link
- fullClasspath
The full classpath to link with
- runMain
Whether the link process should install module initializers for main.
- mainClass
The main class if invoked via
link
orrun
.- logger
An instance of a logger.
- returns
An instance of a try if the method has succeeded.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)