Scala Script

An executable Scala script. When defined in functionality.resources, only the first entry will be executed when running the built component or when running viash run. When defined in functionality.test_resources, all entries will be executed during viash test.


Type: String

Resulting filename of the resource. From within a script, the file can be accessed at meta["resources_dir"] + "/" + dest. If unspecified, dest will be set to the basename of the path parameter.


Type: Boolean

Whether the resulting resource file should be made executable.


Type: String

The path of the input file. Can be a relative or an absolute path, or a URI. Mutually exclusive with text.


Type: String

The content of the resulting file specified as a string. Mutually exclusive with path.


Type: String

Specifies the resource as a Scala script.