processAllFiles

fun processAllFiles(inputDirectoryPath: Path, withFilenameEndings: Set<String>, outputDirectoryPath: Path, recursive: Boolean = true, process: Project.() -> Unit)

Iterates over all files contained in the inInputDirectory and having an extension contained in withFilenameEndings. The process is executed on each of those input files.

Parameters

inputDirectoryPath

path to the directory comprising the input models

withFilenameEndings

only process files with these extensions

outputDirectoryPath

path to the directory where new models and files are written to

recursive

iterates recursively over the directory

process

user defined process to be executed