(input_: str, output: str, target: CompilationTarget,
                  root: Optional[str] = None)
return CompilationResult(count, time() - start, target,
                             sorted(dependencies))
Compiles all files from input_ to output.
Compiles all files from input_ to output.
Compiles all files from input_ to output .
def compile_files(input_: str, output: str, target: CompilationTarget,
                  root: Optional[str] = None) -> CompilationResult:
    """Compiles all files from input_ to output."""
    dependencies = set()
    start = time()
    count = 0
    for paths in get_input_output_paths(input_, output, root):
        count += 1
        dependencies.update(_compile_file(paths, target))
    return CompilationResult(count, time() - start, target,
                             sorted(dependencies))
def compile_files ( input_ : str , output : str , target : CompilationTarget , root : Optional [ str ] = None ) -> CompilationResult : dependencies = set ( ) start = time ( ) count = 0 for paths in get_input_output_paths ( input_ , output , root ) : count += 1 dependencies . update ( _compile_file ( paths , target ) ) return CompilationResult ( count , time ( ) - start , target , sorted ( dependencies ) )