reads a ScalaJS library JAR into a CP
Base-trait used by traversers to handle content with callbacks
A helper trait to traverse an arbitrary classpath element (i.e.
A helper trait to traverse an arbitrary classpath element (i.e. a JAR or a directory).
Abstraction of a FileSystem, so classpath builders can be used with virtual file systems
Allows to create a PartialClasspathBuilder from a (filesystem) classpath
Allows to create a PartialClasspathBuilder from a (filesystem) classpath
Rules for classpath reading: - If top-level JS is present, all IR is ignored - Top-level JS goes to scalaJSCode / IR goes to scalaJSIR - If top-level JS is present, a PartialClasspath is created, otherwise a PartialIRClasspath is created - Descends into JARs, no top-level JS in JARs - Entries stay in order of ‘cp‘, IR remains unordered - Earlier IR entries shadow later IR entries with the same relative path - Non-top level JS goes to availableLibs (earlier libs take precedence) - JS_DEPENDENCIES are added to dependencies
FileSystem implementation using java.io._
reads a ScalaJS library JAR into a CP