C# Class Plovr.Runners.ClosureCompilerRunner

Inheritance: BaseRunner
显示文件 Open project: hikirsch/Plovr.NET

Public Methods

Method Description
ClosureCompilerRunner ( IPlovrSettings settings, IPlovrProject project ) : System
Compile ( IEnumerable dependencies, ClosureCompilerOutput &output ) : int

Run the closure compiler

Private Methods

Method Description
BuildParams ( IEnumerable dependencies ) : string

Taking a list of dependencies, use the ClosureComiplerParamBuilder to build out all the command arguments we need to execute the jar.

CreateSoyJsFromDependencies ( IEnumerable dependencies, List &list ) : IEnumerable

Go through all the dependencies and for each of the soy files, we need to compile it and save the path to the result. We send the list of the soy dependencies out as well as a complete list of all the exisitng JS dependencies with the newly generated JS files.

Method Details

ClosureCompilerRunner() public method

public ClosureCompilerRunner ( IPlovrSettings settings, IPlovrProject project ) : System
settings IPlovrSettings
project IPlovrProject
return System

Compile() public method

Run the closure compiler
public Compile ( IEnumerable dependencies, ClosureCompilerOutput &output ) : int
dependencies IEnumerable the dependencies
output Plovr.Model.ClosureCompilerOutput the standard output from the compiler
return int