C# Class Bari.Plugins.PythonScripts.Scripting.ProjectBuildScriptRunner

Inheritance: ScriptRunnerBase, IProjectBuildScriptRunner
ファイルを表示 Open project: vigoo/bari

Public Methods

Method Description
ProjectBuildScriptRunner ( [ targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory, IUserOutput output, IParameters parameters ) : System
Run ( Project project, IBuildScript buildScript ) : ISet

Executes the given build script on the given project, returning the set of target files the script generated.

The script's global scope has the following predefined variables set: - project refers to the project being built - sourceSet is the project's source set associated with the build script - targetRoot is the root target directory where all the files are generated - targetDir is where the project's output should be built

A special global function get_tool is available which accepts a reference URI and a file name. The same protocols are supported as for references in the suite definition. The function's return value is the absolute path of the given file, where the tool has been deployed.

Method Details

ProjectBuildScriptRunner() public method

public ProjectBuildScriptRunner ( [ targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory, IUserOutput output, IParameters parameters ) : System
targetRoot [
referenceBuilderFactory IReferenceBuilderFactory
buildContextFactory IBuildContextFactory
output IUserOutput
parameters IParameters
return System

Run() public method

Executes the given build script on the given project, returning the set of target files the script generated.

The script's global scope has the following predefined variables set: - project refers to the project being built - sourceSet is the project's source set associated with the build script - targetRoot is the root target directory where all the files are generated - targetDir is where the project's output should be built

A special global function get_tool is available which accepts a reference URI and a file name. The same protocols are supported as for references in the suite definition. The function's return value is the absolute path of the given file, where the tool has been deployed.

public Run ( Project project, IBuildScript buildScript ) : ISet
project Project The input project to build
buildScript IBuildScript The build script to execute
return ISet