NodejsScriptExecutor

ba.sake.nodejs.script.executor.NodejsScriptExecutor

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class Environment(folder: Path)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class NpmDependency(name: String, version: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def execute(env: Environment, jsScript: String, dependencies: Set[NpmDependency], scriptName: String): String

Value parameters

dependencies

npm dependencies to install

env

execution environment, a nodejs project folder/"sandbox"...

jsScript

code to execute

scriptName

name of the script file to create

Attributes

Returns

stdout of the script