compileScriptPacks

internal fun compileScriptPacks(packs: Collection<RawScriptPack<SourceCode>>, libraries: Array<out String> = emptyArray()): List<RawScriptPack<CompiledScript>>(source)

Process and compile scripts from each script pack, returning a new list of packs with the compiled results.

Return

a list of script packs with the resulting compile contents

Parameters

packs

script packs to compile

libraries

file names of additional libraries to use during compilation